Lets put it like this: An Iran proxy shot at a US military base killing an American contractor and wounding some US serviceman, So the US went and killed 25 of that terrorists proxy, Then based on the American intelligence this Soleimani guy organized the attack on the US embassy, So Trump took the bold move to finely eliminate him as he was also responsible for 100s of deaths of American Soldiers, So as of now Iran targets American military bases In Iraq and may have damaged some stuff there, but thank G-D no deaths.
Now let me say this, if it would have started with Iran targeting the American military bases in Iraq even if there were no deaths then there would have been a major retaliation on Iran, but the fact that it happened after they killed Soleimani the US/Trump feels that if by not retaliating would stop an all out war even tho Iran could feel proud that they attacked a military base then so be it. But if they try attacking again in a few weeks a few months they would suffer a great response.
Just my thoughts!