American equity markets experienced significant losses Thursday as mounting concerns over potential military action against Iran combined with disappointing signals from the technology sector to send investors fleeing toward safer assets.

The S&P 500 declined 1.4% by midmorning trading, while the technology-focused Nasdaq Composite suffered steeper losses of 2.2%. Oil markets responded to the geopolitical uncertainty with international Brent crude climbing more than 2% and domestic crude advancing over 1%.

In a notable reversal of recent trends, Treasury bonds attracted increased demand as investors sought refuge from more volatile holdings. This flight to safety pushed bond yields lower, marking a departure from the pattern that has characterized markets for several months.

The immediate catalyst for Thursday’s selloff appears to be reports emerging Wednesday that Israel and the United States are preparing potential military operations against Iran, with such actions expected to occur after the November midterm elections. Reported targets include Iranian energy infrastructure and nuclear facilities.

Military and diplomatic personnel from the United States were evacuated from multiple Middle Eastern nations Wednesday, lending credence to preparations for possible conflict. Iranian officials have warned of extensive retaliation should strikes occur, specifically identifying critical data center facilities and undersea internet cables throughout the Middle East as potential targets for counterattacks.

The technology sector bore the brunt of Thursday’s losses. Meta and Tesla both declined following quarterly earnings reports delivered Wednesday evening. While Meta’s revenue and earnings exceeded analyst projections, those results only materialized after excluding several billion dollars in legal penalties paid during the quarter. The company further cautioned investors to expect increased spending in the coming year to satisfy demands for computing infrastructure.

A separate regulatory filing disclosed Meta’s intention to commit an additional $825 billion to contracts supporting its artificial intelligence infrastructure expansion.

Tesla disappointed investors by announcing plans to reduce capital expenditures, contrary to market expectations for more aggressive growth initiatives.

The Nasdaq’s troubles deepened Thursday morning when Nvidia’s chief executive stated during a television appearance that capital available to finance artificial intelligence investments has become increasingly scarce due to elevated interest rates and substantial existing spending obligations.

While American markets remain near record highs, recent weeks have witnessed heightened volatility as questions emerge about returns on massive artificial intelligence investments. European markets have also faced pressure from a significant selloff in French government debt.

Analysts at major financial institutions noted the confluence of challenges facing investors, including concerns about artificial intelligence growth prospects, rising oil prices, and persistent fiscal pressures.

The timing of any substantial market decline could carry political implications as the nation approaches midterm elections. President Trump has consistently highlighted robust stock market performance as evidence that his economic policies have benefited American households. A significant market downturn in the weeks preceding the November 3 election would complicate that narrative for the President and Republican candidates nationwide.

Market observers will be watching closely in coming days to determine whether Thursday’s losses represent a temporary adjustment or the beginning of a more substantial correction.

Related: Tennessee Coach Defends Released Player Who Brought Gun to Practice