Stocks closed solidly higher on Wall Street as traders become more hopeful that some of the U.S.’s frictions with its trading partners will ease and more in Wednesday’s Stock Market Update.

Treasury Secretary Steven Mnuchin said Wednesday that Washington is getting closer to lifting tariffs on steel and aluminum from Canada and Mexico. Mnuchin also said he would travel soon to Beijing to resume trade talks.

Longtime market favorites had some of the biggest gains. Google parent company Alphabet rose 4%, Facebook rose 3% and Amazon climbed 1.6%. The flip-flop marked the latest reversal for the market, which has been whipsawed by worries over the worsening trade relationship between China and the U.S. and the fallout it may have on the broader global economy. The market plunged Monday, bounced back Tuesday and see-sawed Wednesday.

Major carmakers turned higher following media reports that the U.S. is planning to delay new tariffs on car and auto part imports from Europe. The proposed tariffs would add another front to U.S. trade disputes and increase investors’ anxiety.

Both European and U.S. automakers stand to suffer from retaliatory tariff increases that would cut into international sales. Ford rose 1.1%, Fiat Chrysler added 1.7% and General Motors gained 0.8%.

“The prospect that the U.S. is going to hold off on doing anything with Europe allowed this reflex rally to continue,” said Sam Stovall, chief investment strategist at CFRA.

Banks lagged the broader market as bond yields slumped. Bond prices rose sharply, sending yields lower, after some surprisingly disappointing economic data in the U.S. including weak figures on retail sales and industrial production.

The yield on the 10-year Treasury note, which is used to set rates on many kinds of loans including mortgages, fell to 2.37% from 2.42% late Tuesday, a large move.

That decline in yields hurts banks because it cuts into profit from interest on loans. Bank of America fell 1.1% and Citigroup slid 0.6%.

Not all technology stocks were climbing. Chipmakers, which are heavily dependent on China for sales, remained weak. Nvidia skidded 1.5%.

Analysts have been warning that the stock market will remain volatile as long as the U.S. and China remain locked in their latest spat. The latest flare-up began last week when President Donald Trump threatened, then followed through on raising more tariffs on Chinese goods. China responded earlier this week with plans for its own increased tariffs on U.S. goods.

The escalation surprised investors who had been expecting a resolution. That confidence was a key component of the stock market’s sharp gains so far this year.

DAILY STOCK MARKET UPDATE

KEEPING SCORE: The S&P 500 index rose 16 points, or 0.6%, to 2,850. The Dow Jones Industrial Average rose 115 points, or 0.5%, to 25,648. The Nasdaq rose 87 points, or 1.1%, to 7,822. Bond prices rose sharply. The yield on the 10-year Treasury fell to 2.37%

Major indexes in Europe closed higher.

ANALYST’S TAKE: The rally on Wednesday could be a case of investors reading too much into what is otherwise good news on the trade front. In this case, the potential delay in tariff increases for European cars could signal something more worrisome.

“The market is having an overly optimistic reaction to the small kernels of positive news flow that have come out today,” said Kristina Hooper, chief global market strategist at Invesco. “I would argue the developments we heard today only underscore the precarious situation the U.S. is in with China.”

POWERING THE RALLY: Technology and communications stocks accounted for much of the market’s afternoon rally. Microsoft rose 1.4%, Apple gained 1.2% and Alphabet climbed 4%. Video game publisher Activision Blizzard also rose, adding 3.5%.

POSITIVE FLOW: Progressive rose 5.2% after it gave investors a solid first quarter earnings report and renewed its stock buyback plan. The insurance company reported a sharp rise in written premiums.

RECALIBRATING: Agilent plunged 11% after cutting its revenue forecast for the year following a disappointing first quarter. The scientific instruments maker reported first quarter profit and revenue that fell short of Wall Street forecasts.

SHOPPING FOR PROFIT: Alibaba Group Holding climbed 1.4% after the online retailer blew past Wall Street forecasts for first quarter profit. The Hong Kong-based company also beat revenue forecasts for the quarter.

© The Associated Press. All rights reserved.