Oil crude prices surged around 5% Monday after Israel and Iran exchanged strikes, testing a fragile truce and threatening hopes for a deal to end the Middle East crisis.

The contract for August jumped 5.1% to $97.83 a barrel, while West Texas Intermediate (WTI) climbed 4.8% to hit $94.85.

Israel said on Monday it hit a petrochemical plant in Iran's southwest, along with strikes elsewhere ​on military targets. That's despite U.S. President Donald Trump reportedly telling Israeli Prime Minister Benjamin Netanyahu to refrain from ​further attacks.

In the first hit on an energy site inside Iran since the April 8 cease-fire, Israel ⁠said it struck targets at the Mahshahr petrochemical complex. A provincial official told Iran's semi-official Fars news agency that parts of the ​plant were damaged.

Hopes are now eroding for an imminent end to the wider war and a restart to crude flows through the ​Strait of Hormuz, through which roughly a fifth of the world’s oil and liquefied natural gas (LNG) used to transit.