Shares of Lowe's Companies, Inc. (LOW) - Get Report  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) - Get Report 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.

Image placeholder title

"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) - Get Report  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) - Get Report , 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.