Photo/Illutration Currency traders pass by a screen showing the Korea Composite Stock Price Index (KOSPI), center left, and the foreign exchange rate between U.S. dollar and South Korean won, center, at the foreign exchange dealing room of the KEB Hana Bank headquarters in Seoul, South Korea, Oct. 8, 2024. (AP Photo)

NEW YORK--U.S. stocks rebounded Tuesday after falling oil prices released some of the pressure that built up on the market.

The S&P 500 rallied 1% to claw back all of its loss from the day before. The Dow Jones Industrial Average rose 126 points, or 0.3%, and likewise neared its record set last week, while the Nasdaq composite led the way with a 1.4% rally.

Wall Street held firm even though stock markets around the world sank following scary swings in China, as euphoria about possible stimulus for the world’s second-largest economy gave way to disappointment. Stocks tumbled 9.4% in Hong Kong for their worst day since the 2008 global financial crisis.

Helping to support Wall Street was a sharp drawdown in oil prices. They gave back some of the big recent gains they made on worries that worsening tensions in the Middle East could ultimately lead to disruptions in the flow of oil.

A barrel of Brent crude, the international standard, fell 4.6% to $77.18 for its first loss in a week and a half. A barrel of benchmark U.S. crude, meanwhile, eased 4.6% to $73.57.

That also helped level off the pressure on the stock market from the bond market. Treasury yields eased a bit, a day after they shot to their highest levels since the summer.

The 10-year Treasury yield edged down to 4.02 from 4.03% late Monday. The two-year yield, which more closely tracks expectations for what the Federal Reserve will do with overnight interest rates, slipped to 3.96% from 3.99%, late Monday, though it’s still near its highest level since August.

When Treasurys are paying higher yields, investors generally become less willing to pay very high prices for stocks and other investments. And Treasury yields had been storming higher over the last week following a suite of reports showing the U.S. economy remains healthier than expected.

Such reports, including one last week showing stronger hiring by U.S. employers than forecast, raise hopes that the economy will avoid a recession. But they also force traders to ratchet back expectations for how much the Federal Reserve will cut interest rates by, now that it has widened its focus to include keeping the economy humming instead of just fighting high inflation.

Traders have abandoned expectations for the Fed to cut its main interest rate by a larger-than-usual half of a percentage point at its next meeting, for example. Instead, they’re largely betting on a traditional-sized cut of a quarter of a percentage point, according to data from CME Group. Some are even calling for the possibility the Fed could keep its main rate steady in November.

High Treasury yields put the most pressure on stocks seen as the most expensive, and that puts the spotlight on the Big Tech stocks that have led the market for most of the last few years.

On Tuesday, all of the Big Tech stocks that have collectively come to be called the “Magnificent Seven” rose. Nvidia led the way with a gain of 4% and was the strongest single force pushing upward on the S&P 500.

PepsiCo climbed 1.9% after delivering stronger profit for the latest quarter than analysts expected, though its revenue fell short.

CEO Ramon Laguarta also said the company now expects a “low single-digit” increase in an important measure of revenue for the year after it had earlier forecast growth of about 4%. U.S. consumers continue to pull back on buying snacks and drinks after years of price increases.

On the losing end of Wall Street were oil-and-gas companies, which gave back some of their big recent gains driven by the last week’s jump in crude prices. Chevron fell 1.6% and was one of the main reasons the Dow lagged other indexes.

All told, the S&P 500 rose 55.19 points to 5,751.13. The Dow added 126.13 to 42,080.37, and the Nasdaq gained 259.01 to 18,182.92.

In stock markets abroad, trading in mainland China reopened following a national holiday. Before, indexes in Shanghai and Shenzhen had surged on hopes for stimulus from the government and the central bank meant to prop up the economy’s flagging growth.

On Tuesday, China’s economic planning agency outlined details of measures aimed at boosting the economy, but it refrained from major spending initiatives. That helped lead to the 9.4% drop for the Hang Seng index in Hong Kong.

In Shanghai, where the market had been closed as Hong Kong ran higher over the last week, stocks rose 4.6% following their reopening.

The disappointment in China had worldwide effects, knocking down stocks of companies in Europe, the United States and elsewhere that do lots of business in and around China. Estee Lauder fell 2.2%, for example, while Wynn Resorts lost 3.3%.