A sharp recovery in semiconductor and memory chip shares propelled US equity indices higher on Tuesday, offsetting broader headwinds that weighed on other sectors.

The Nasdaq Composite led the advance, buoyed by renewed buying interest in technology hardware and components, while the S&P 500 and Dow Jones Industrial Average also posted gains.

The rally in tech stocks came despite a challenging backdrop for risk assets, with the US Treasury market posting losses as yields rose on concerns over persistent inflation and fiscal deficits.

The divergence between equities and bonds highlights a market split between growth-oriented investors and those focused on fixed-income risks.

While the semiconductor sector has been a key driver of the broader tech rally in recent weeks, the latest move suggests that investor confidence in chip demand remains resilient despite macroeconomic uncertainties.

The rebound in chip stocks helped stabilize sentiment on Wall Street, where traders had been cautious ahead of key economic data releases.