U.S. stock markets extended their recovery on Tuesday, with technology and artificial intelligence (AI) shares leading gains amid a broader market rally. The Standard & Poor’s 500 index climbed 0.8%, marking its first three-day winning streak since late October, while the Nasdaq composite rose 1.3%, buoyed by strong performances in AI-related stocks. The Dow Jones Industrial Average advanced more modestly by 0.2%, or 111 points.

The market rebound follows a sharp downturn over nearly two months driven by concerns that AI technologies may not deliver sufficient profits or productivity to justify heavy investment. Recent gains have helped the S&P 500 close within 5.3% of its early-October record high, recovering from a decline that briefly exceeded 11%.

A key contributor to the rally was Nvidia, whose shares increased 2.8%, helping lift the broader market. Nvidia’s stock had fallen roughly 50% from its early October peak but has since pared much of that loss, now down about 34%. The company’s CEO, Jensen Huang, made a surprise return to the spotlight amid scrutiny over whether Nvidia potentially skirted U.S. export controls by supplying advanced AI chips to China. Huang addressed these concerns before lawmakers, denying allegations of national security risks tied to his dealings and stating he had no knowledge of any diversion of Nvidia products to China.

Other major chipmakers tied to AI also posted strong gains, with Broadcom rising 5.4% and Advanced Micro Devices gaining 8.4%. Meanwhile, Anthropic, the developer of the Claude AI chatbot, experienced volatility after revealing that its AI models had identified a theoretical method to solve complex mathematical problems used in encryption. Although this finding does not currently enable practical cybersecurity breaches, the news initially caused the stock to drop more than 4%, before closing up 4%.

The bond market saw Treasury yields rise, with the 10-year yield climbing to 5.06% from 4.93% late Monday, largely influenced by a 4.8% increase in Brent crude oil prices to $94.79 per barrel. Oil prices have fluctuated widely since February, when the United States and Israel conducted military actions against Iran.

Two economic reports released on Tuesday indicated stronger-than-expected conditions in the U.S. manufacturing sector and labor market, with an increase in job openings as of late October. These data points suggest the Federal Reserve may have room to continue raising interest rates during its upcoming meeting, as officials aim to curb inflation that remains higher than desired.

Higher interest rates typically dampen borrowing and economic growth but also put downward pressure on stock prices and fixed-income securities. Rising Treasury yields have particular implications for mortgage rates and have recently negatively impacted real estate-related companies.

International markets showed mixed results with European indexes generally rising following a varied performance across Asian markets. Shares fell 0.6% in Shanghai but increased 1.2% in Seoul.

Overall, the S&P 500 closed Tuesday at 7,404.20 points, the Dow at 50,935.33, and the Nasdaq at 24,800.05, with just under half of the stocks in the S&P 500 posting losses for the day.