Technology and health care companies helped pull stocks lower on Wall Street Thursday, driving the market indexes deeper into the red for the first week of the year.

The S&P 500 slipped 0.1% after wobbling between gains and losses for much of the day. The Dow Jones Industrial Average also gave up an early gain, shedding 0.5%. The tech-heavy Nasdaq fell 0.1% a day after posting its biggest drop in nearly a year.

Weakness in big tech companies like Apple was the main culprit. The iPhone maker fell 1.7%. Health care stocks also helped drag down the benchmark S&P 500 index, outweighing gains by banks, energy companies and other sectors.

Bonds continued to climb. The yield on the 10-year Treasury rose to 1.73%, the highest level since March. It was 1.70% late Wednesday.

The S&P 500 fell 4.53 points to 4,696.05. The Dow slipped 170.64 points, or 0.5%, to 36,236.47. The Nasdaq composite lost 19.31 points to 15,080.86.

Smaller company stocks bucked the broader market. The Russell 2000 index rose 12.37 points, or 0.6%, to 2,206.37.

Stocks have been choppy this week as traders reacted to the big rise in bond yields. The S&P 500 and Dow both set all-time highs on Monday, only to lose ground in subsequent days. The major indexes are now on pace to post weekly losses.

Beyond technology companies, a mix of retailers and health care stocks weighed on the market Thursday. Tesla fell 2.2% and UnitedHealth Group fell 4.1%

Banks benefited from the rise in bond yields, which allow lenders to charge more lucrative interest on loans. Citigroup gained 3.3%.

U.S. crude oil prices rose 2.1%, which helped push energy stocks higher. ConocoPhillips rose 3.8%.