U.S. stocks closed slightly lower as investors balanced Middle East tensions with optimism around upcoming tech earnings. Markets remained cautious amid US-Iran developments and oil supply concerns, while attention shifts to results from major firms like Alphabet and Intel, expected to shape sentiment on corporate health and future growth outlook.