New York — U.S. stock markets experienced mixed trading on Friday as gains in oil prices were offset by declines among technology companies tied to artificial intelligence. The S&P 500 ended the day nearly unchanged, slipping less than 0.1 percent to 7,354.02, marking only its second weekly loss in the past 13. The Dow Jones Industrial Average declined 44.5 points, or 0.1 percent, to 51,876.11, while the Nasdaq composite fell 0.2 percent to 25,297.62.

Oil prices eased back from recent highs, with Brent crude falling 3.8 percent to $72.60 a barrel. This level is below where prices stood prior to the recent U.S. and Israeli military action against Iran, which led to the closure of the Strait of Hormuz and disrupted global oil shipments. Market participants viewed the retreat in oil prices as a positive sign for broader economic stability.

Meanwhile, Treasury yields moved lower in tandem with the oil price decline. The yield on the 10-year U.S. Treasury note decreased to 4.37 percent from 4.40 percent reported on Thursday.

Despite some stabilizing factors, stocks associated with the artificial intelligence sector weighed heavily on markets both in the U.S. and abroad. Asian markets opened sharply lower, led by a significant 12.5 percent drop in shares of SoftBank Group Corp., a major investor in AI technology companies. The sell-off in SoftBank contributed to a 4.2 percent decline in Japan’s Nikkei 225 index.

The mixed market performance reflected ongoing investor caution amid geopolitical tensions and the volatile outlook for technology stocks linked to the rapidly evolving AI industry.