Shares of Lowe's Companies, Inc. (LOW)  struggled Wednesday, down 6.47% to $89.59 after the company reported fourth-quarter earnings.

While revenue came in ahead of expectations, earnings per share results of 74 cents came in 13 cents below expectations. After the impressive results from Home Depot Inc (HD) last week, investors were surely expecting better numbers from Lowe's.

"This was an extremely disappointing quarter," TheStreet's Jim Cramer said on CNBC's "Stop Trading" segment.

Comparable-store sales increased 4.1% for Lowe's, which many retailers would kill for in this environment. However, when it's compared to the 7.5% comp from Home Depot, it doesn't look quite so good.

Cramer wondered, is Home Depot taking market share from Lowe's? It's too early to know for sure, but it's clear that Lowe's is not executing to the best of its ability.

"Lowe's is a very good company," said Cramer, who also manages the Action Alerts PLUS charitable trust portfolio. But investors should think twice before selling Home Depot off of this result, because the industry is not struggling right now, Lowe's is struggling.

Home Depot does a great job of utilizing technology to boost sales, he noted. But it's unclear whether Home Depot is simply beating Lowe's in this digitization effort or if Lowe's simply didn't execute well enough in the quarter.

It's also worth pointing out that PPG Industries, Inc. (PPG)  fell 2.49% to $112.44 after Lowe's said it will stop selling PPG's Olympic brand paint and stain in mid-2018. Instead, it will expand its partnership with Sherwin-Williams Co (SHW) , which is up 0.54% to $401.58 in response.

It's also worth noting that PPG says Lowe's represents less than $300 million in its annual sales. PPG generated $14.75 billion in sales in fiscal 2017.

At the time of publication, Cramer's Action Alerts PLUS had no position in any security mentioned.

More from Stocks

Markets Look Confused After Latest Beating

Markets Look Confused After Latest Beating

General Electric Expulsion From Dow Symbolizes Unsettled Week in Markets

General Electric Expulsion From Dow Symbolizes Unsettled Week in Markets

How Small-Cap Stocks Can Protect Your Portfolio From a Trade War

How Small-Cap Stocks Can Protect Your Portfolio From a Trade War

Week Ahead: Trade Fears and Stress Tests Signal More Volatility To Come

Week Ahead: Trade Fears and Stress Tests Signal More Volatility To Come

3 Great Stock Market Sectors Millennials Should Invest In

3 Great Stock Market Sectors Millennials Should Invest In