Stocks fell as the Iran conflict pushed oil prices higher, turning an energy spike into a broader market shock for investors.