Good point.
Trump sucks at being a tough guy. He wants to be one so bad, but he generally picks the wrong targets.
While foreign policy/military operations are too complex for simple comparisons, let's try to think about what would happen if the tables were turned. Let's say that a group of Marines based in Japan went rogue and murdered a Japanese citizen (this is not far fetched. It has happened several times). Would we be OK if Japan bombed our base in Okinawa in response?
I'm just saying that here we had a situation where a part of the Iraqi army apparently went rogue, probably at the direction of Iran, and bombed an American base. That's bad. But it seems like instead of calling in an airstrike as a first step, there are a lot of different potential responses such as demanding that the host country detain and prosecute those responsible, or disband the rogue unit, or whatever. Instead Trump and Pompeo go for the immediate tough guy response of bombing, without any thought about how that might be received by the population of the host country.