Trump seems to have lost sight of the fact that his “maximum pressure” sanctions campaign against the Islamic Republic is working: Iran’s economy is feeling great pain, and its isolation is deepening. For all of its proclamations of resistance and resilience, the regime in Tehran is plainly alarmed.

In its panic, it has started to lash out in ways that hurt its own interests, and erode the sympathy it has enjoyed in international circles since Trump pulled the U.S. out of the nuclear deal last year. The threat to resume uranium enrichment, and to exceed agreed limits, is already losing Iran the support of the Europeans, as are the attacks on neutral shipping near the Persian Gulf. Khamenei’s humiliation of the Japanese Prime Minister Shinzo Abe, who made a good-faith effort to mediate an end to the confrontation, has cost Iran more goodwill. The shooting down of an American drone was yet another demonstration of the regime’s capacity for self-harm.

And Trump was, for once, playing his cards reasonably well. He stated his openness to negotiations and his desire to avoid war. He dismissed the tanker attacks as “very minor” and attributed the downing of the drone as the work of a “loose and stupid” individual. Secretary of State Mike Pompeo also let the Iranians know that if their future actions caused the death of an American service member, it would trigger reprisals.

This is exactly the right response to Iran’s provocations: To brush them off and allow the regime to damage itself in the court of world opinion, even as it is continually weakened by sanctions.