Major U.S. stock indexes saw a sharp decline on Tuesday, influenced by the surge in global oil prices to over $100 a barrel for the first time in two months and renewed anxieties about artificial intelligence spending sparked by earnings from tech giants. The Dow Jones Industrial Average, the S&P 500, and the Nasdaq Composite all registered losses.

Energy stocks broadly advanced, mirroring the rise in crude oil prices. This uptick in oil coincided with geopolitical tensions and supply concerns that have been influencing global energy markets. The benchmark West Texas Intermediate crude futures climbed past the $100 mark, a level not seen in approximately eight weeks, before settling slightly below it.

The technology sector faced renewed pressure as investors digested earnings reports from key players like Alphabet and Tesla. While both companies reported results, commentary and financial figures related to their substantial investments in AI infrastructure and development appeared to reignite worries about the long-term profitability and sustainability of the current AI spending boom. This sentiment contributed to a broader selloff in technology stocks, dragging down market indices.

Market participants are closely watching corporate earnings and economic indicators for signs of broader market trends and potential shifts in investment strategies. The interplay between energy prices, inflation expectations, and the technology sector's growth trajectory remains a central focus for traders and analysts.