The modest gain for the S&P 500 came after the index swung between small advances and declines throughout the day, marking its second consecutive weekly loss despite the late‑day uptick.

The Dow Jones Industrial Average fell 0.2% while the Nasdaq Composite managed a 0.4% rise, reflecting the uneven impact of higher borrowing costs on different sectors of the market.

Bond market pressure was a key driver, with the yield on the benchmark 10‑year Treasury climbing to 5% from 4.94% on Thursday – the first time the yield has breached the 5% threshold since 2023.

Higher yields increase the cost of credit across the economy, from government financing to mortgages and corporate borrowing, and tend to depress equity valuations.

Oil prices added to the market strain, as Brent crude rose to almost $110 a barrel earlier in the week, up from just over $70 in July, before settling at $103.87 after a brief dip below $102.

The surge in oil has pushed U.S. gasoline prices to $4.47 per gallon, a jump from $3.20 a year earlier, while diesel hit a record $6.45 per gallon, tightening household budgets and raising shipping costs for goods.

Corporate earnings reflected the mixed environment: steelmaker Nucor warned that its third‑quarter profit forecast fell short of analysts’ expectations, sending its shares down 6.3%, while Berkshire Hathaway edged up 0.1% after Warren Buffett announced he is relinquishing his chairman role.

Among the day’s top gainers were Coinbase Global, which rose 11.7%, and Robinhood Markets, up 9.1%, both standing out as the strongest performers within the S&P 500.

Internationally, European markets also slipped, with France’s CAC 40 and Britain’s FTSE 100 each falling about 1.5%, underscoring the global reach of the bond‑yield and oil‑price pressures.

Looking ahead, investors will watch for a key update on the U.S. housing market later this week, alongside the routine weekly unemployment report, for further clues on how the economy is coping with elevated rates and inflation.