Gold rebounded from early losses on Tuesday, as the dollar pulled back and Treasury yields slid on wider market optimism about the U.S. debt ceiling deal.

Spot gold rose 0.6% to $1,954.09 per ounce by 09:55 a.m. EDT (1355 GMT), after hitting its lowest since March 17 earlier. U.S. gold futures gained 0.5% to $1,953.10.

The dollar eased 0.2% from 10-week highs, making bullion cheaper for holders of other currencies, while benchmark 10-year Treasury yields hit a one-week low.

Along with these positive elements, "you could also see some fund managers squaring up positions at the end of the month, taking profits on their short positions and buying back," said Jim Wyckoff, senior analyst at Kitco Metals.

"In the near term, gold prices are going to trade sideways to lower until we see a fresh catalyst."

Returning from a long U.S. weekend, traders were also assessing Friday's surprise strong U.S. economic data that bolstered the case for further monetary policy tightening to curb inflation.

While earlier worries on the U.S. debt deal had supported prices, the repricing of the Federal Reserve's rate hike path was keeping gold pressured, Saxo Bank's head of commodity strategy Ole Hansen said.

Zero-yield gold tends to lose its appeal in a high-interest rate environment.

Traders now see the Fed as more likely to hike rates next month than leave them unchanged, with the debt deal seen easing some of the economic risks that could have kept the central bank on the sidelines.

The deal faces its first test in Congress, with both Democratic President Joe Biden and top congressional Republican Kevin McCarthy expecting enough votes to pass it into law.

Silver fell 0.4% to $23.11 per ounce, platinum was down 0.3% to $1,021.70 while palladium slipped 1.5% to $1,394.82.

(Reporting by Deep Vakil and Seher Dareen in Bengaluru; editing by Susan Fenton, Jason Neely and Rashmi Aich)