U.S. stocks traded mixed early Tuesday morning as investors balanced renewed enthusiasm surrounding artificial intelligence spending against fresh uncertainty in the Middle East and a stream of developments from Washington.

The Dow Jones Industrial Average rose 77.96 points, or 0.15%, to 51,156.8, while the S&P 500 fell 7.99 points, or 0.11%, to 7,591.97. The Nasdaq Composite declined 71.26 points, or 0.26%, to 27,015.6 in early trading. Brent crude traded near $94.98 per barrel, up from overnight lows, while the CBOE Volatility Index (VIX) climbed 0.19 points, or 1.18%, to 16.24, reflecting a modest increase in investor caution.

The primary driver of Tuesday's market action was a combination of uncertainty surrounding Iran and Lebanon and a rotation within technology shares after recent gains. The Trump administration remains engaged in efforts to stabilize tensions involving Iran, Israel and Lebanon, even as military activity continued in southern Lebanon and negotiations with Tehran faced new complications. Reuters reported that Iran is studying a potential framework to halt hostilities while ceasefire discussions remain fragile.

Technology shares presented a more encouraging picture. Semiconductor and AI-related names continued to attract investor interest following reports highlighted by AInvest that chipmaker Marvell gained to the upside after Nvidia CEO Jensen Huang emphasized the growing importance of AI infrastructure spending.

Separately, Berkshire Hathaway has has invested roughly $10 billion in Google AI compute infrastructure, reinforcing investor confidence that hyperscale AI spending remains in its early stages.

Outside technology, transportation stocks remained in focus after reports that American Airlines plans to suspend several domestic routes later this summer, including service between Los Angeles and Pittsburgh. The carrier cited pressure from elevated fuel costs, highlighting how higher energy prices are beginning to affect corporate decision-making beyond the energy sector itself. The route reductions reinforced investor concerns that persistently high oil prices could weigh on profit margins across the airline industry in the months ahead.

Looking ahead, market participants will be watching further developments in the Middle East, additional signals from the Trump administration on foreign policy, when Secretary of State Marco Rubio testifies before the Senate Foreign Relations Committee later this morning.