Q2 Rally Shows Narrow Tech Leadership, June Volatility

US stocks rose in Q2 as the S&P 500 hit April record highs, then volatility returned in June when AI-led mega-cap tech names reversed, erasing about $2.3 trillion.

US stocks rallied in the second quarter after the S&P 500 climbed to record highs in April and posted its best monthly gain since November 2020. The Nasdaq also gained early in the quarter on strength in technology and AI-related stocks before volatility returned in June, when several large tech names reversed and lost roughly $2.3 trillion in combined market value that month.

Market breadth widened late in the quarter. The equal-weighted S&P 500 outperformed the cap-weighted index by about 300 basis points, driven by flows into smaller-cap, cyclical and economically sensitive stocks. Small-cap shares, semiconductors and unprofitable growth companies rallied as investors increased exposure to higher-beta areas that had been underweighted earlier in the year.

Corporate earnings provided support for the rally. First-quarter S&P 500 earnings rose about 28% year over year, the strongest pace since the 2021 post-pandemic rebound. Beat rates were high, margins stayed resilient in many sectors, and several firms raised forward estimates. Earnings gains were uneven across the index, with the largest technology and communication services firms contributing a disproportionate share of the upside.

AI continued to dominate investor attention and coincided with a major capital-spending cycle among cloud providers. Amazon, Microsoft, Alphabet and Meta are expected to spend hundreds of billions on data centers, GPUs, networking, power and cooling through 2026, with combined estimates approaching or exceeding $700 billion. That spending supported demand for semiconductors, memory, advanced packaging and related equipment.

The Philadelphia Semiconductor Index outperformed as tight supply and AI-driven demand lifted shares tied to memory, GPUs and power-efficient compute. Software and other technology sub-sectors showed mixed results: companies that could demonstrate direct AI monetization, user growth or margin expansion outperformed, while those facing pricing pressure or heavier investment needs lagged.

Several of the largest tech firms recorded notable reversals in June. Microsoft and Nvidia posted significant declines, and Apple and Amazon also experienced pressure as investors reassessed the timing and scale of AI-related capital spending and its implications for free cash flow and returns on invested capital.

Consumer indicators were mixed. Retail sales and payrolls remained broadly resilient, while the University of Michigan consumer sentiment index fell to 44.8 in May, a survey low. Higher-income households continued spending on services and premium goods, while lower-income households reported cutting back on nonessential purchases amid higher prices for food, fuel and housing.

Geopolitical and policy developments affected markets. The U.S.-Iran conflict created recurring headline risk that influenced oil prices, supply chains and inflation expectations. Federal Reserve commentary grew less permissive, and officials emphasized persistent inflation, which increased market sensitivity to inflation prints, wage data and energy costs.

Investors identified risks for the period ahead, including concentrated market positioning, valuation pressure, the challenge of converting AI-related investment into profitable revenue, competition from open-source models, inference and token cost issues, environmental constraints from data-center expansion and potential regulatory scrutiny.

Articles by this author