I suspect that this ‘attack’ was part of the discussions - this isn’t World War 1 where you lob and hope, even for Iran.
Also not Trump’s initial response (last night) was not angry.
Do you imply that the “attack” was more theater than anything else? That it was pre-arranged so Iran could save face?