Maybe I shouldn’t be surprised. The conflict has been a military humiliation, the world’s most expensive and imperious fighting force held at bay by the disposable drones and cheap missiles of a much lesser power. Eighteen U.S. soldiers have been killed, officially, and recent reporting suggests the number may be higher. Regional bases have had to be evacuated to protect American lives, the country’s missile and interceptor stockpiles are now woefully diminished, and conditions on U.S. ships have become a global embarrassment. According to the Congressional Budget Office, the military adventure has cost the Pentagon $38 billion, and is rising with each additional month. The war seemed needless at the outset — at best. Now it looks potentially endless, too.

That’s just the military side of things. At home, in six months of war, Americans have already paid more than $100 billion more for fuel than they would have in the absence of conflict — a Trump-branded surcharge that when annualized is equivalent to nearly 1 percent of G.D.P. The C.B.O. estimates that more than one-third of the increase in American inflation this year is the result of the war, and the problem looms large enough that even the president’s handpicked Fed chair — whom Trump publicly said he chose to guarantee future rate cuts — just raised interest rates instead. Much has been made of Trump’s so-called betrayal of his antiwar commitments, which were paper-thin and opportunistic to begin with. But the Iran war may prove just as politically damaging for dramatizing his broken promise to lower prices.

This is new, and not just for Trump. For decades, even if the U.S. wasn’t very good at fighting remote wars, it seemed to feel confident embarking on them without worrying too much about domestic political blowback — in some sense, this was the country’s real military superpower, however foolish the political calculation and perverse the consequences. The closure of the Strait of Hormuz has marked a profound shift of that dynamic, a lesser power expected to duck and cover quickly finding ways to impose costs on the American home front, as well. Look at the president’s approval ratings, and the pattern is remarkably clear. Overall, there is a step down in the spring of this year, coinciding with the beginning of the war. More telling is his approval rating on inflation and the cost of living. Inflation itself jumped in March and has stayed elevated since. And Trump’s net approval on those issues dropped off a cliff, falling 25 points and then largely staying there through the summer and into the fall. It’s almost as if something very big happened in late February.

Months later, even Trump’s loyal voters still feel pretty gloomy about an economy that would qualify, by most historical standards, as obviously imperfect but relatively solid. In January, 72 percent of Republican voters said they thought the economy had gotten stronger over the previous year. In September, the number is more than 40 points lower, at just 29 percent.

These numbers are extremely low, particularly given the headline strength of the American economy — low unemployment, relatively strong growth numbers and a booming stock market — and everything we have learned in recent years about partisan perceptions of the economy. Not that long ago, liberal commentators in the Biden era spent years racking their brains to explain what was often called the “vibe-cession” — the reality that public sentiment about the economy seemed so much bleaker than the conventional measures suggested. The vibes have collapsed on Trump, too, and quite a lot of that collapse looks tied up with Iran.