Yes, decisions do have consequences.
By that same logic, Iran should expect consequences when it bombs a neighboring country. Jordan is a sovereign state. If it decides to host U.S. forces, that's Jordan's decision. not Iran's.
And the idea that Jordan's relationship with the U.S. exists only because of a payoff is an oversimplification. Jordan has had security concerns for decades, including regional wars, terrorism, instability in Syria and Iraq, and cross-border threats. The partnership isn't just about money.
Using your logic, if your neighbor throws a grenade through your kitchen window because you're letting the neighbor on the other side park in your driveway, are you supposed to shrug and say, "Please, sir, may I have another?" Of course not. Most people would defend themselves and so should Jordan and any Gulf State that gets attacked by Iran.
Now, this may surprise you coming from me, but from a tactical standpoint, I don't blame Iran for trying to close the Strait or strike back at the US's interest in neighboring countries. Given the disparity in military power, it's one of the few ways it can try to push back against the U.S. That doesn't mean I think other countries should simply accept being attacked. They should fire right back at Iran.