Go Pro

Defense, Solar, and Refining Stocks Split as the Iran Conflict Raises Energy Risk

Three-panel composite showing a control room with monitoring screens, solar panels with power lines at sunset, and an illuminated oil refinery.

Key Points

  • Renewed escalation in the Iran conflict has lifted oil prices and kept energy-security concerns at the center of the market.
  • SAIC’s defense IT exposure and strong fiscal second-quarter results make it a steadier way to play higher national security demand.
  • SolarEdge still faces financing and residential-solar headwinds, while Marathon Petroleum has benefited most directly from elevated refining margins.
  • MarketBeat previews the top five stocks to own by October 1st.

Months into the war between the United States and Iran, the conflict has entered another period of intensification. The many ups and downs over the last several months, in which a ceasefire has numerous times appeared to be emerging before attacks resume, have provided opportunities for select industries and companies to thrive. Now, with multiple commercial supertankers struck in recent weeks, escalation is prompting a divergence across the market.

As oil remains near multi-week highs, defense contractors are able to benefit from a sustained increase in government outlays. At the same time, concerns about energy security may prompt skittishness among players across the space. Oil refiners are enjoying crack spreads that are close to all-time highs as far as profitability goes. The three companies below represent each of these corners of the market and have responded very differently to the latest round of fighting in the Iran conflict.

SAIC Is a Steady Compounder in the Defense IT Space

Science Applications International Today

Science Applications International Corporation stock logo
SAICSAIC 90-day performance
Science Applications International
$126.20 -1.35 (-1.06%)
As of 04:00 PM Eastern
52-Week Range
$81.08
$142.66
Dividend Yield
1.17%
P/E Ratio
14.76
Price Target
$125.22
Science Applications International Corp. NASDAQ: SAIC plays a pivotal role in intelligence systems, cybersecurity, and mission IT, allowing the contractor to benefit across all phases of a war like the one in Iran. Results for its latest quarter—Q2 fiscal 2027, ended July 31, 2026—were strong across the board, including organic revenue growth of about 5%, adjusted EBITDA of $193 at a 10.3% margin, and $131 million in free cash flow. The company also posted an impressive earnings beat with earnings per share (EPS) of $3.01, 70 cents ahead of estimates, despite this metric being lower on a year-over-year (YOY) basis due to a large legal settlement a year earlier.

SAIC also provided insight into its contract pipeline, which helps make the case for its strengths going forward. A $400-million recompute contract for an unspecified U.S. intelligence agency, coupled with a recompute win rate of more than 90% for the latest quarter, means that SAIC is highly capable of generating new business.

Management boosted fiscal 2027 earnings outlook by 75 cents on the low end and 65 cents on the high end, alongside an increase in anticipated revenue as well. The company's backlog is also robust. In short, SAIC appears to be functioning well in an environment practically designed to ensure its success. One thing that may give investors pause, however, is that after climbing nearly 26% year to date (YTD), SAIC stock may not have as much room to rally in the near term.

SolarEdge’s Recovery Still Faces a Difficult Setup

SolarEdge Technologies Today

SolarEdge Technologies, Inc. stock logo
SEDGSEDG 90-day performance
SolarEdge Technologies
$35.21 -1.22 (-3.35%)
As of 04:00 PM Eastern
52-Week Range
$28.21
$81.25
Price Target
$38.36
After several highly tumultuous years, SolarEdge Technologies NASDAQ: SEDG appeared to be an early beneficiary of the Iran war. Shares climbed in the weeks immediately following the onset of U.S.-Israeli strikes and then spiked in early June as European demand rose amid market volatility.

In the time since, however, the picture has gotten cloudier. Even with fairly strong Q2 2026 results—including 20% YOY revenue improvement to more than $346 million and a non-GAAP operating profit for the first time in multiple years, plus gross margin expansion to 28.6%—shares of SEDG have now fallen significantly from those mid-year highs.

Higher energy prices should help to boost solar adoption, which would be a boon for the company. However, rising Treasury yields due to energy-fueled inflation concerns also mean the cost of financing its projects has soared, potentially harming demand. At the same time, a tepid U.S. residential market may also be a drag on SolarEdge's business. The result is a company that, despite a fairly strong set of fundamentals, has an overall Reduce rating across Wall Street analyses.

Marathon Is the Clearest Winner, But Not a Risk-Free One

Marathon Petroleum Today

Marathon Petroleum Corporation stock logo
MPCMPC 90-day performance
Marathon Petroleum
$400.33 +2.56 (+0.64%)
As of 03:59 PM Eastern
This is a fair market value price provided by Massive. Learn more.
52-Week Range
$161.93
$402.00
Dividend Yield
1.00%
P/E Ratio
13.76
Price Target
$330.50
High gas prices, near-record crack spreads, and concerns about supply have all made for an excellent environment for oil refiners. Marathon Petroleum Corp. NYSE: MPC, one of the world's largest such companies, is no exception.

Marathon's Q2 2026 earnings report was stellar, as Q2 profit surged nearly fourfold to $5.1 billion on a 54% YOY jump in revenue. Adjusted EBITDA more than doubled as well, thanks in large part to excellent crack spreads amid the near-closure of the Strait of Hormuz.

Shares of MPC have predictably shot upward in this environment, climbing over 140% YTD. Analysts remain largely optimistic about MPC's viability for investors, with 12 out of 17 calling shares a Buy even as the stock has surged past the consensus price target of $330.50. Of course, the danger for investors is that the same major catalyst—crack spreads driven by supply concerns—can reverse just as quickly. So while it may seem that Marathon is easily the winner of the three stocks on this list, investors should be mindful that it still carries risks amid a very volatile war.

Should You Invest $1,000 in Science Applications International Right Now?

Before you consider Science Applications International, you'll want to hear this.

MarketBeat keeps track of Wall Street's top-rated and best performing research analysts and the stocks they recommend to their clients on a daily basis. MarketBeat has identified the five stocks that top analysts are quietly whispering to their clients to buy now before the broader market catches on... and Science Applications International wasn't on the list.

While Science Applications International currently has a Hold rating among analysts, top-rated analysts believe these five stocks are better buys.

View The Five Stocks Here

7 Energy Stocks to Buy and Hold Forever Cover

With the proliferation of data centers and electric vehicles, the electric grid will only get more strained. Download this report to learn how energy stocks can play a role in your portfolio as the global demand for energy continues to grow.

Get This Free Report
Continue following MarketBeat
Add MarketBeat as your preferred source on Google to see our latest stories in your feed.
Nathan Reiff
About The Author

Nathan Reiff

Contributing Author

Like this article? Share it with a colleague.

Companies Mentioned in This Article

CompanyMarketRank™Current PricePrice ChangeDividend YieldP/E RatioConsensus RatingConsensus Price Target
Science Applications International (SAIC)
2.2098 of 5 stars
$126.20-1.1%1.17%14.76Hold$125.22
SolarEdge Technologies (SEDG)
1.5487 of 5 stars
$35.21-3.3%N/AN/AReduce$38.36
Marathon Petroleum (MPC)
4.199 of 5 stars
$400.330.6%1.00%13.76Moderate Buy$330.50
Compare These Stocks  Add These Stocks to My Watchlist 

Featured Articles and Offers

Recent Videos

Stock Lists

All Stock Lists

Investing Tools

Calendars and Tools

Search Headlines