Does the US stock market tend to rise after natural disasters? It seems counter intuitive that markets would rise after a huge disaster that probably affects multiple industries like oil or produce. 

For example, can someone explain why the US markets actually rose in the days following hurricane Harvey? 

Edit: changed title to include natural disasters as a whole.
This news article with some statements from financial workers makes a case that usually big storms don't impact the national economy that much, even despite the large localized damages. While insurance companies will suffer in the stock market because of all those payouts they'll have to give, oil prices as you mentioned will be impacted, but in this case, gas prices will rise because of the change in the supply curve, so they will actually benefit in the stock market. The various effects combined end up with the stock market not really going up or down. It's more or less a wash. 

To think of it another way, a shock in the short term capital in the economy won't particularly change the steady state level of capital. If markets know this, there isn't a need for huge changes in prices. In the case of the insurance companies, their money isn't so much based on capital as it is based on states of the world, so they will end up needing to adjust prices.

There are other reasons why the stock market may not have moved up or down in particular, but for the most part it is speculation, and even my answer is just intuitive exposition.