US stocks today: US stocks end mixed, notches weekly gains as investors parse Middle East negotiations

US stocks closed mixed as investors weighed Middle East tensions and Iran peace talks. Inflation rose due to energy shocks, while Dow and S&P slipped but Nasdaq gained on tech strength. Despite volatility, all major indexes posted weekly gains as traders stayed cautious ahead of major earnings and macro risks.