While Surging to Records, Stocks Experience Some ‘Wobbles’ Beneath the S&P 500’s 2 percent gain in the third quarter, the rise in oil prices and bond yields led some investors to become more cautious about the outlook for A.I. profits.