US equities extended a record-setting 2026 in mid-July, with the S&P 500 closing higher after a cooler-than-expected June inflation report reinforced hopes of further Federal Reserve easing, even as chip and technology stocks continued to power the artificial intelligence rally. Yet the gains came alongside a renewed spike in oil prices, as escalating US-Iran hostilities over the Strait of Hormuz kept a geopolitical risk premium firmly embedded in energy markets.

A Cooler Inflation Print Lifts Sentiment

The Labor Department's June Consumer Price Index report, released 14 July 2026, showed headline inflation easing to 3.5% year-on-year, with prices falling 0.4% month-on-month, well below the roughly 3.8% economists had expected. Core CPI, which strips out food and energy, held flat on the month, leaving the annual core rate at 2.6% versus consensus forecasts near 2.9%. The softer-than-expected data pushed the S&P 500 up 0.38% to 7,543.59, the Nasdaq Composite 0.9% higher to 26,107.01, and left the Dow roughly flat at 52,508.27. Odds of a rate hike at the Fed's July meeting fell to 17% from 42% the day before, according to the CME FedWatch Tool, as traders leaned further into the case for additional easing later in the year.

AI and Semiconductor Names Keep Leading

Technology and semiconductor stocks were again standout performers, extending a rally that had already delivered 23 separate record closes for the S&P 500 in 2026 and pushed the index above 7,600 at its most recent peak. Investor appetite for artificial-intelligence infrastructure spending has continued to outweigh concerns over stretched sector valuations, with chipmakers among the biggest contributors to the day's gains as bank earnings and cooling inflation combined to support a broadly risk-on tone. Strong results from several large banks earlier in the week had already set an encouraging tone for the broader second-quarter earnings season, giving investors additional cover to look past the geopolitical noise.

Oil Prices Climb on Strait of Hormuz Tensions

The upbeat equity backdrop stood in contrast to energy markets, where Brent crude rose as much as 3.8% to around $85.92 a barrel, its highest level in a month, as US and Iranian forces traded strikes over control of the Strait of Hormuz for a third consecutive day. US Central Command confirmed extensive strikes aimed at degrading Iran's ability to threaten shipping, while transits through the strait fell by more than half compared with the previous week, underscoring how quickly the conflict was disrupting global energy flows. President Trump added that the US would reimpose a blockade on Iranian ports and begin charging vessels transit fees as self-appointed guardian of the waterway, a move that risked prolonging the disruption well beyond the immediate exchange of strikes.

What It Means for Traders

The session captured a market pulling in two directions at once: cooling inflation and AI-driven earnings optimism supporting equities, while a live geopolitical conflict kept energy markets on edge. For traders, this kind of divergence argues for watching oil and equity volatility together rather than in isolation, since further escalation around the Strait of Hormuz has the potential to feed back into inflation expectations and complicate the rate-cut narrative currently supporting stocks.

Daily market analysis by BCM Markets.