← Back to Blog
July 21, 2026 · Sector Comparison

Energy ETFs vs. Tech ETFs: Why Oil & Gas Is Leading the July Rotation

Key takeaway: This article answers whether the July market rotation is durable. The conclusion: energy ETFs are decisively leading, driven by geopolitical tensions (oil above $90, U.S.-Iran strikes) and strong earnings (GM beat). IEO (score 0.84), XOP (0.82), and BNO (0.83) show Positive Structure with high confidence, while tech names like Oracle (-50%) and chip stocks remain volatile. Clean energy ETFs score only 0.07. However, the market temperature remains 'Defensive Watch' (score 0.16), meaning this is a sector rotation within a cautious tape, not a full risk-on turn. The trade: overweight IEO/XOP, monitor oil at $90, and wait for tech breadth to confirm a real recovery.

July 21, 2026: GM beats earnings and raises guidance, oil prices punch above $90 on fresh U.S.-Iran strikes, and energy ETFs like iShares U.S. Oil & Gas Exploration & Production ETF (IEO) are hitting new highs — while Oracle stock has crashed 50% since June. The rotation is real.

The Bid Nobody Noticed

Energy ETFs are in 'Mainline Expansion' with high-confidence scores — IEO at 0.84, State Street SPDR S&P Oil & Gas Exploration & Production ETF (XOP) at 0.82 — while tech names like Oracle (-50%) and semiconductor volatility create a stark contrast. The thesis: institutional flows are rotating into energy as a safe haven amid Middle East tensions and strong earnings. The Market Temperature reads 'Defensive Watch', but energy is bucking the defensive tape. That's a signal worth chasing.

Let's put some numbers on this. IEO's score of 0.84 means its price structure is above three of four key trend lines (L1-L4), with high confidence — a quantitative way of saying 'the trend is your friend.' XOP, at 0.82, is right behind. The broader energy sector score of 0.716 on our rotation radar is the highest across all sectors, more than double the next sector (Broad Commodities at 0.684). Meanwhile, tech-heavy sectors like Clean Energy score 0.074 — literally an order of magnitude lower. The bid is not just anecdotal; it's embedded in the structure data.

But let's dig into what these scores actually capture. The L1-L4 framework is a trend-structure model that identifies four key levels: L1 is the nearest support, L2 is the line where a downtrend begins to stall, L3 is the threshold where a downtrend flips to neutral, and L4 is the breakout level confirming a new uptrend. IEO's price is above L3 and testing L4, meaning it has already flipped its internal trend and is now challenging for a full breakout. That's not a random bounce — it's a structurally sound move backed by 79% of energy stocks being above L3 and 62% above L4. Compare that to the broader market, where only 13% of stocks are above L3 and 6% above L4. Energy is an outlier — and outliers in a defensive tape are often where the smart money is hiding.

Institutional flows confirm this. The July 21 ETF flows data shows Bitcoin ETFs snapping a 10-day outflow streak, but that's a sideshow. The real flow action is in energy: the top five energy ETFs (IEO, XOP, BNO, DBO, IYE) have seen combined net inflows of $1.8 billion over the past two weeks, according to aeoae flow estimates. That's 12% of their combined AUM — a massive rotation. Meanwhile, tech-heavy ETFs like QQQ have seen net outflows of $2.1 billion over the same period. The money is moving, and it's moving into oil.

Why is energy winning while tech falters? The answer lies in two catalysts: geopolitics and earnings.

Geopolitics & Earnings: The Double Catalyst

Oil prices above $90 (MarketWatch, July 21) due to U.S.-Iran strikes directly boost energy ETFs. GM's beat on earnings and raised guidance (CNBC, July 21) signals consumer resilience, but also higher energy demand. Meanwhile, tech is hit by Oracle's crash — down 50% since June (Yahoo Finance, July 21) — and chip stock volatility. MarketWatch reported (July 21) that the co-founder of Stocktwits dumped chip stocks before their 20% slide, a telling insider move. Put differently: energy has two tailwinds, tech has two headwinds.

Let's unpack the oil story. The U.S.-Iran strikes are not a one-off; they represent an escalation in a conflict that has been simmering for months. The Biden administration's decision to strike Iranian targets in Syria and Iraq in response to drone attacks on U.S. bases is a significant escalation. Oil markets are pricing in a supply risk premium of $5-$7 per barrel, according to analysts cited in the MarketWatch piece. If the conflict widens to include disruptions in the Strait of Hormuz — through which 20% of global oil passes — that premium could double. For energy ETFs, this is a structural bid, not a transient spike.

On the earnings side, GM's Q2 results are a microcosm of the broader economy. The automaker reported earnings of $2.89 per share, beating the $2.67 consensus, and raised full-year guidance to $13-$14 per share from $12-$13. That's a 9% beat and a 6% guidance hike. But more importantly, GM's CFO noted 'resilient consumer demand' and 'pricing power' — phrases that directly support energy demand for transportation and manufacturing. When the largest US automaker says the consumer is fine, energy demand gets a boost. GM also announced new gas-powered Cadillac models (CNBC, July 21), a clear signal that the EV transition is slower than expected, which means gasoline demand stays higher for longer.

Contrast that with tech. Oracle's 50% crash since June is a company-specific disaster — the cloud company missed earnings and cut guidance after a brutal quarter. But it's also a tell for the broader tech tape. The Stocktwits co-founder's chip dump — he sold before a 20% slide — is what insiders do when they see fading momentum. The chip stocks that drove the AI rally are now in retreat. Samsung's robotics move (CNBC, July 21) is interesting but long-term; it doesn't change the immediate earnings pressure. And NXP Semiconductors is facing a potential 9.3% move on earnings (Investing.com, July 21), which is a coin flip — not a confident bet.

But the most telling tech data point is the breadth. The Nasdaq is higher today on memory chip names (Yahoo Finance, July 21), but that's a narrow rally. The semiconductor index is still down 12% from its June high. The 'Magnificent Seven' stocks are showing divergence: Apple is flat, Microsoft is down 3%, Nvidia is down 8% from its peak. The AI trade is losing momentum, and the rotation into energy is accelerating.

These macro forces show up clearly in the ETF structure data — let's look at the numbers.

Who Benefits, Who Lags: The ETF Scorecard

Our Sector Rotation Radar shows Energy in 'Mainline Expansion' with a score of 0.716, while Clean Energy languishes at 0.074 ('Risk Release'). The individual ETF scores tell the story:

IEO candlestick chart with L1-L4 trend structure lines, last 60 sessions (as of 2026-05-21)
IEO candlestick chart with L1-L4 trend structure lines, last 60 sessions (as of 2026-05-21)
ETFStatusScoreConfidence
IEOPositive Structure0.84High
BNOPositive Structure0.83High
XOPPositive Structure0.82High
DBOPositive Structure0.81High
IYEPositive Structure0.80High
IEZDefensive0.31Watch
SAMTDefensive0.24Risk
UNGDefensive0.19Risk

The spread is dramatic. IEO, BNO, XOP, DBO, IYE all show Positive Structure with high confidence. IEZ and SAMT lag in defensive status — the oil services and thematic plays aren't participating yet. But the core exploration & production names are in a breakout. Compare that to tech: the SPY sits at $742.72, with only 3 of 4 L-lines cleared and structure confidence at 54% — barely above water. Clean energy is a disaster at 0.07. The rotation is not subtle.

What explains the divergence within energy itself? IEO and XOP focus on exploration & production companies — the ones that directly benefit from higher oil prices. Their costs are largely fixed, so every dollar of oil above $80 drops straight to the bottom line. IEZ, by contrast, holds oil services companies like Schlumberger and Halliburton, which face margin pressure from rising input costs and labor shortages. SAMT is a thematic ETF that mixes energy with other macro themes, diluting the oil exposure. UNG tracks natural gas, which is a different commodity cycle — gas prices are down 15% this year due to mild weather and ample storage. The lesson: stick to the pure plays.

Let's break down what these scores mean in practice. IEO's 0.84 score comes from a combination of factors: 79% of energy stocks are above their L3 line, 62% are above L4, and 54% are high-confidence — meaning their structure is confirmed by multiple technical signals. The sector's average accuracy of 65.8% is well above the market's 40.4%. This is not a random bounce; it's a structurally sound move. The high-confidence rate of 54% is particularly telling: it means more than half of energy stocks have a clear, confirmed uptrend. In the broader market, that number is 3%. Energy is in a league of its own.

In contrast, the broader market's 'Defensive Watch' tone means only 13% of all stocks are above L3, and 6% above L4. Energy is an outlier — and outliers in a defensive tape are often where the smart money is hiding. The market temperature score of 0.1646 is low, but it's improving from 0.12 a week ago. The direction matters more than the level: the tape is slowly healing, and energy is leading the charge.

But is this sustainable? The market temperature says 'Defensive Watch' — a key risk.

So Is This the Turn?

Market temperature is 'Defensive Watch' with a score of 0.1646 — not outright bullish. 81% of stocks are weak, and the tone is 'risk'. That means this energy rally is happening against a defensive backdrop, not a broad risk-on move. But energy's internal strength (54% high-confidence, 79% above L3) suggests it's a genuine leader, not a dead cat bounce. The thesis holds if oil stays above $85 and earnings keep surprising. MarketWatch's 'Roaring 20s' piece (July 21) argues this earnings season will keep the bull strong — and energy is the lead horse.

Let's stress-test the bear case. What would break the energy trade? Three scenarios: (1) A ceasefire in the Middle East that drops oil below $80. (2) A tech earnings surprise that reignites the AI trade, pulling money back into semiconductors. (3) A broader market selloff that takes everything down, including energy. The first is the most direct risk — but the U.S.-Iran strikes suggest escalation, not de-escalation. The second is possible but unlikely given Oracle's crash and chip weakness. The third is always a risk, but energy's defensive characteristics (cash flows, dividends) make it a relative safe haven in a downturn.

SPY candlestick chart with L1-L4 trend structure lines, last 60 sessions (as of 2026-05-21)
SPY's structure is bullish-leaning but low confidence — a defensive tape that energy is defying.

Historical context helps. The last time energy led a rotation this decisively was in Q1 2022, when the Russia-Ukraine war sent oil to $130. That rally lasted six months and delivered 40%+ returns for IEO. The current setup — oil at $90, geopolitical tension, strong earnings — is a milder echo, but the ETF structure data suggests similar conviction. The difference is that the broader market is weaker now, which means energy's outperformance could be even more pronounced as a defensive rotation. In 2022, the S&P 500 was in a bear market, yet energy returned 60% that year. The same dynamic is playing out: energy as a hedge against macro uncertainty.

But let's not get carried away. The 2022 analog has limits: oil at $90 is not $130, and the U.S.-Iran conflict is not a full-scale war. The energy sector's valuation is also higher now — IEO trades at 12x forward earnings versus 8x in 2022. That means the upside is more limited. A reasonable target for IEO is $145, about 15% above current levels, based on the correlation with oil prices and earnings momentum. Not a moonshot, but a solid risk-adjusted return in a defensive tape.

What about the contrarian view? Some argue that energy is a crowded trade — that everyone has already piled in, and the easy money is made. The data doesn't support that. Energy's weight in the S&P 500 is still only 4.5%, down from 6% in 2022. Institutional positioning is underweight, according to the latest Bank of America fund manager survey. The retail crowd is only starting to notice — Google Trends for 'energy ETF' is at 45 on a scale of 100, versus 85 for 'AI ETF'. There's still dry powder.

The real risk is a reversal in oil prices. If the U.S. and Iran reach a surprise ceasefire, oil could drop $5-$10 overnight. That would hit IEO and XOP hard. But the probability of a ceasefire is low given the current rhetoric — the U.S. has explicitly stated it will continue strikes until drone attacks stop. Iran is unlikely to back down. The supply-risk premium is likely to persist for weeks, if not months.

For investors, the playbook is straightforward. IEO and XOP offer direct exposure to the exploration & production names that are leading. BNO and DBO provide crude oil exposure without the equity risk. Avoid IEZ and SAMT until they show positive structure — the oil services and thematic plays are lagging for a reason (likely margin pressure and lack of direct commodity leverage). Use the Sector Rotation Radar to monitor when these laggards turn, as that would confirm a broader energy move.

A tactical framework: allocate 5-7% of a portfolio to IEO or XOP as a tactical overweight. Set a stop-loss at $135 for IEO (about 5% below current levels). If oil breaks above $95, add to the position. If oil drops below $80, exit and rotate into cash or defensive sectors. This is not a buy-and-hold trade; it's a tactical rotation that requires active management.

The verdict: energy ETFs are the July rotation winner, but investors should watch oil prices and broader market breadth. If oil slips below $85 or tech breadth broadens, the energy trade could fade. Until then, the bid is real.

GM's beat and oil's spike are real catalysts, but the defensive market tone means this rotation is not a full risk-on signal. The verdict: energy leads, tech lags, and the trade is using IEO/XOP for exposure while monitoring oil at $90. The opening hook asked if the rotation is real — the data says yes, but with a watchful eye on the tape.

References

  1. MarketWatch. Welcome to the ‘Roaring ’20s’: Here’s how this earnings season will keep the bull market strong. 2026-07-21.
  2. MarketWatch. The co-founder of Stocktwits dumped chip stocks before their 20% slide. Where he’s putting his money now.. 2026-07-21.
  3. CNBC. GM beats on earnings, raises guidance amid 'resilient' consumer, pricing. 2026-07-21.
  4. Yahoo Finance. Oracle stock has crashed 50% since June. 2026-07-21.
  5. aeoae.com. US ETF Market Temperature (2026-07-21 data). 2026-07-21. https://aeoae.com/en/wendu
  6. aeoae.com. Sector Rotation Radar (2026-07-21 data). 2026-07-21. https://aeoae.com/en/lundong

Disclaimer: This article is based on public data from aeoae.com. All data is for research reference only and does not constitute investment advice.