U.S. stocks rose Friday, closing out a turbulent month marked by wide market swings driven by inflation concerns, rising oil prices, and shifting investor sentiment about the potential returns from artificial intelligence (AI) investments. The S&P 500 gained 0.7 percent, while the Dow Jones Industrial Average added 276 points, or 0.5 percent. The Nasdaq Composite rallied 1 percent after briefly erasing an early gain of 1.3 percent.
Despite the week’s gains—the first for the S&P 500 in three weeks—the index finished July with a slight loss, reflecting ongoing uncertainty among investors. Surging oil prices, propelled by the conflict with Iran and concerns over disrupted Middle Eastern supply, contributed to inflation worries that weighed heavily on markets throughout the month.
Among individual stocks, Amazon posted a notable advance of 15.3 percent following a quarterly earnings report that far exceeded analyst expectations. The company’s profit more than tripled year-over-year, driven in part by accelerated growth in its cloud computing division. Amazon also raised its forecast for capital spending this year, with analysts interpreting the results as early signs that the company’s significant AI investments are beginning to yield returns.
Similar enthusiasm was seen in Microsoft’s stock a day earlier, which soared to its strongest performance in nearly 18 years on the back of positive signals that its AI ventures may translate into increased profitability.
In contrast, chip manufacturers experienced volatility amid the market’s mixed signals about AI-related demand. Micron Technology, an important supplier of processors and memory components for major tech firms, swung from an early gain of 6.4 percent to close down 5.9 percent. These fluctuations highlighted investor uncertainty about how sustainable the AI-driven surge in chip sales will be.
Apple, meanwhile, declined 7.4 percent despite reporting quarterly profits that beat estimates. The company lowered its revenue growth forecast for the current quarter, attributing the shortfall to supply chain constraints driven by increased demand for AI-related components.
Oil prices continued to climb Friday, with Brent crude rising 1.2 percent to settle near $88 a barrel after fluctuating between $72 and $102 earlier in the month. Elevated oil prices have pushed U.S. gasoline prices to an average of nearly $4.11 per gallon, up from $3.85 in June, according to AAA. Higher fuel costs contribute to broader inflation pressures by increasing expenses for shipping and production across many sectors.
The bond market also reflected inflation concerns, with the yield on the 10-year Treasury note rising to 4.71 percent from 4.68 percent the previous day and up sharply from around 3.97 percent before the intensification of the conflict with Iran. Rising yields indicate investor expectations for continued inflation and economic growth challenges ahead.
Long-term interest rates climbed further following a Federal Reserve policy meeting earlier in the week. Fed Chairman Kevin M. Warsh reiterated the commitment to returning inflation to the 2 percent target but did not specify the strategies to achieve this goal. The central bank left its benchmark interest rate unchanged despite persistent inflation above target levels, maintaining a cautious approach amid concerns that additional rate hikes could dampen economic growth.
