S&P 500 falls from record highs as Middle East tensions escalate