The global rout in stock markets continued Friday as worries deepened about a trade war, after China retaliated against President Donald Trump’s sweeping tariffs with steep levies of its own on U.S. goods.

The S&P 500 fell 6% on Friday, pulling the benchmark U.S. index close to a bear market, Wall Street’s term for a decline of more than 20% from its latest peak in mid-February. The index recorded its worst week since March 2020, the beginning of the coronavirus pandemic, after two consecutive days of steep losses.Losses were widespread, hitting technology companies as well as firms that rely on Chinese manufacturing in their supply chains. Apple shares dropped more than 7%. Shares in Caterpillar, which makes construction equipment, tumbled nearly 6%.

The tech-heavy Nasdaq composite index fell 5.8%, pushing it into a bear market, down almost 23% from its record closing high in December.

European and Asian indexes also tumbled for a second day as investors weighed the economic effects of Trump’s tariffs, the dominant concern in markets. The Stoxx Europe 600 dropped more than 3%, erasing its gains for the year. In Japan, the Nikkei 225 fell 2.8%, matching its drop from the day before.

The Chinese government said Friday that it would match Trump’s plan for 34% tariffs on goods from China with its own 34% tariff on imports from the United States. It also added 11 American companies to its list of “unreliable entities,” essentially barring them from doing business in China or with Chinese companies.

This is “another jolt of fear shooting through markets,” said Susannah Streeter, an analyst at Hargreaves Lansdown. “This was the fear that it wouldn’t just be one round of tariffs in the United States on partners but that there’s going to be this ratcheting up to lead into a fully blown trade war.”

Markets got a slight reprieve from the latest report on the labor market, which showed that U.S. employers added 228,000 jobs in March, which was far more than economists had expected. However, the unemployment rate rose to 4.2%.

Still, the jobs data “is backward-looking and doesn’t say anything about how employers might fare over the coming months,” said Glen Smith, chief investment officer at GDS Wealth Management.

China’s moves showed that Beijing has no intention of backing down in the trade war with Trump. Investors were already on edge because of the potential disruption that Trump’s policies, including widespread deportations and layoffs of federal workers, could have on the economy.

Trump’s announcement Wednesday, which he called “Liberation Day,” included a minimum tariff of 10% on nearly all imports, causing markets to convulse as investors dumped stocks and sought safety in government bonds.

On Friday, the yield on 10-year Treasury bonds fell steeply to 4%, the lowest since early October.

An index of the dollar against a basket of other major currencies also slipped Friday.

The severity of the stock market sell-off reflects how investors were taken by surprise by the scale of the tariffs. At the same time, Trump has said he is open to negotiating with countries, making it unclear how long tariffs will persist and making it harder to judge how companies might respond.

“Liberation day will not bring freedom from uncertainty,” analysts at Goldman Sachs said in a note.

The prospect of weaker global economic growth has also weighed on commodities prices. Brent crude oil, the international benchmark, dropped more than 5% to around $66 a barrel, the lowest level in more than three years.

In Europe, bank stocks were hard hit, reflecting fears of tariffs hitting growth in a region already struggling because of weak exports and business investment. Bank of America said in a report Friday that its latest economic forecast implied that the benchmark pan-European stock index could fall another 10% in the coming months. The “narrative has started to darken,” the bank’s analysts wrote.

There are still fears about further escalation. If the United States buys fewer Chinese goods, then Chinese companies will look for other markets. That has raised concerns in Europe that even more cheap metals, chemicals and other products will head in its direction, worsening concerns about dumping.

“That’s a worry that other parts of the world may also impose tariffs because they don’t want their industries to be decimated further,” Streeter said.

Trump imposed steep levies on many Southeast Asian countries — including Vietnam, Indonesia, Cambodia — that are critical to the supply chains of some of America’s biggest brands. These countries also reprocess a lot of Chinese components for export to the United States, a popular way for companies to avoid long-standing U.S. tariffs on goods coming straight from China.

The stock market in Vietnam, which faces a 46% tariff, was down again Friday after plunging the prior day. In South Korea, the Kospi Index fell 0.9% on Friday. Trump put a 26% tariff on imports from South Korea.

Stock markets in mainland China, Hong Kong and Taiwan were closed Friday for a holiday.