U.S. stock indexes fell Friday after President Trump said he may intensify his trade war with China. And a strong jobs report pushed investors to brace for higher interest rates.

The Standard & Poor’s 500 index bounced between modest gains and losses in an up-and-down day, but its most decisive move was downward after Trump said he was ready to impose tariffs on essentially every good that’s imported from China. That helped push the S&P 500 to its fourth straight loss.

The S&P 500 ended down 6.37 points, or 0.2%, at 2,871.68, closing out its second down week in the last 10. The Dow Jones industrial average fell 79.33 points, or 0.3%, to 25,916.54. The Nasdaq composite fell 20.18 points, or 0.3%, to 7,902.54.

Earlier in the day, the government’s monthly jobs report showed that hiring and workers’ wage gains were healthier than expected in August. It’s the latest evidence that the U.S. economy continues to power ahead, and it clears the way for the Federal Reserve to raise short-term interest rates at its meeting this month and beyond. Treasury yields jumped in response.

The yield on the 10-year Treasury rose to 2.93% from 2.87%, and the two-year yield rose to 2.69% from 2.62%.

When bonds are offering higher yields, it can pull buyers away from stocks that pay big dividends. Utility stocks and real-estate investment trusts, which are among the market’s highest dividend payers, had some of the day’s steepest losses. Each sector fell 1.2%, tied for the largest loss among the 11 sectors of the S&P 500.

Tesla sank 6.3% to $263.24 after its chief accounting officer resigned after just a month on the job. Dave Morton said that he had no disagreements with Tesla’s leadership about its financial reporting but that he wasn’t expecting so much public attention and such a fast pace at the company when he joined Aug. 6, the day before Chief Executive Elon Musk sparked turmoil by tweeting that he planned to take Tesla private.

Also, Bloomberg News reported Friday that Tesla’s human resources chief would not return from leave. And Thursday night, Musk appeared live on YouTube on a podcast in which he inhaled from what the host said was a joint containing marijuana and tobacco.

On the opposite end was Broadcom, which jumped 7.7% to $232.58 — to the biggest gain in the S&P 500 — after the chipmaker reported a stronger-than-expected quarterly profit.

Broadcom and other technology stocks have been riding fast profit growth to big stock-price gains, and the group has led the market for much of the last five years. It faltered a bit this week, though, amid worries about increased scrutiny from Capitol Hill.

Quanex Building Products soared 20% to $19.45 after its quarterly earnings beat expectations.

Finisar climbed 7.5% to $20.15 after the company, which makes lasers used in facial recognition tech, reported stronger-than-expected quarterly results.

Benchmark U.S. crude slipped 2 cents to $67.75 per barrel. Brent crude, the international standard, rose 33 cents to $76.83 a barrel. Natural gas edged up a fraction of a cent to $2.78 per 1,000 cubic feet. Heating oil rose a penny to $2.22 a gallon. Wholesale gasoline rose 2 cents to $1.97 a gallon.

Gold fell $3.90 to $1,200.40 per ounce. Silver fell 1 cent to $14.17 an ounce. Copper fell a penny to $2.62 a pound.

The dollar rose to 111.06 yen from 110.83 yen. The euro fell to $1.1566 from $1.1625.