A monkey trap offers a reward such as food that when grasped makes the hand too large to withdraw from the hole in the trap giving access to that food. Unless the monkey lets go, the animal is stuck. Now, the obvious choice when danger arrives is to simply let go and run. But, supposedly, monkeys won't let go even as human hunters approach and then club them to death.
The war with Iran has become the Trump administration's monkey trap; potential victory over Iran is the prize in the trap. Strangely, the only prize now available is something that was already available before the war started: freedom of transit through the Strait of Hormuz. But now that Iran has seized control of the strait and effectively closed it to unfriendly traffic, that seizure has become the most important leverage Iran has over the United States and its allies.
As long as the war continues, Iran says there will be no shipments of oil, natural gas, petrochemicals, helium, fertilizers and other key commodities except for its own and a few select shipments from friends of the regime. Since these shipments make up substantial fractions of the world's supplies, closure of the strait has sent prices of these products skyward with shortages already appearing in many places across the globe.