Hurricane Harvey is wreaking havoc on Texas, which is also having an impact on a number of companies.

Costco Wholesale (COST) and Home Depot (HD) seem to be done going down for the most part, but insurance companies are the big focus, TheStreet's founder Jim Cramer, who also manages the Action Alerts PLUS charitable trust portfolio, said on CNBC's "Stop Trading" segment.

Specifically, Cramer pointed out Allstate Corp (ALL) , which is up 0.75% Tuesday. ALL stock is just a few dollars per share below its 52-week high of $95.25, despite the concerns over Harvey and the damage it's causing.

First, Allstate doesn't have that much liability in this case, especially considering that the federal government is going to unleash a financial aid package. This could be up to $100 billion, Cramer said.

Second, Allstate and other insurance companies "can raise prices after this," Cramer reasoned. It seems counter-intuitive that insurance companies would be rallying, but by raising prices, it helps to alleviate some of the burden from the current disaster. They'll need to too, because the losses can be massive.

Other insurers include Travelers Companies (TRV) , American International Group (AIG)  and Warren Buffett's Berkshire Hathaway (BRK.A) (BRK.B) , which owns Geico. 

More of What's Trending on TheStreet:

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

More from Stocks

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

Why Millennials Are Ditching Stocks for ETFs

Why Millennials Are Ditching Stocks for ETFs

Trump's 'Space Force' Could Launch a $1 Trillion Industry, Morgan Stanley Says

Trump's 'Space Force' Could Launch a $1 Trillion Industry, Morgan Stanley Says

Abiomed Stock Should Rise Some 12% From Here, Piper Jaffray Analyst Says

Abiomed Stock Should Rise Some 12% From Here, Piper Jaffray Analyst Says