Oil prices have surged sharply this week as escalating conflict in the Middle East rattles global energy markets.
West Texas Intermediate (WTI) crude has jumped 7.47% to US$80.24 per barrel, while Brent crude is up 4.31% to US$84.91.
The rally comes as tensions between the United States, Israel, and Iran threaten to disrupt oil flows through the Strait of Hormuz, one of the world's most important energy shipping routes.
With supply risks rising, investors have been moving back into oil producers, helping lift Australian energy stocks.
Let's take a closer look.

Image source: Getty Images
Oil markets react to rising geopolitical risks
Oil prices can move very quickly when geopolitical tensions flare up.
The Strait of Hormuz is a critical choke point for global energy markets. Roughly 20% of the world's oil supply passes through the narrow waterway linking the Persian Gulf to international markets.
Recent reports suggest tanker traffic has slowed as security concerns rise in the region. There have also been incidents involving oil tankers and refinery infrastructure, which have further unsettled energy markets.
Energy stocks are responding
The rally in crude prices is already flowing through to Australian energy stocks.
The S&P/ASX 200 Energy Index (ASX: XEJ) has surged roughly 9% over the past week, making it one of the strongest-performing sectors on the local market.
Among the biggest beneficiaries has been Woodside Energy Group Ltd (ASX: WDS).
The Woodside share price has climbed 10% in a week, recently trading around $30.84.
Higher oil prices are generally positive for large producers because they increase revenue from every barrel sold.
Woodside is Australia's largest listed oil and gas producer with major operations across Australia, the Gulf of Mexico, and Africa. The company also has growing exposure to liquefied natural gas (LNG), another market that often tightens during periods of geopolitical tension.
Why investors are watching oil closely
Oil prices often act as a key signal for energy stocks.
When crude moves higher, the earnings outlook for producers usually improves quickly. That is why oil rallies can often drive strong share price gains across the sector.
However, oil markets are also notoriously volatile.
Prices can surge during geopolitical crises but fall just as quickly if tensions ease or supply increases.
That means investors need to balance the short-term momentum with longer-term fundamentals.
Where I'd put my money
If oil prices remain elevated, Australia's large energy producers are likely to benefit.
Companies such as Woodside have global assets, strong cash flows, and exposure to both oil and LNG markets.
That combination leaves them well-positioned when energy prices rise.
While commodity markets are volatile, ongoing geopolitical tensions in the Middle East could keep oil prices elevated in the near term.