Stocks are rallying despite the Iran war and stubborn inflation. Here's why.

Wait 5 sec.

The S&P 500 hit a new record on Wednesday, even as soaring gas prices fuel inflation and consumer confidence sinks.