I think these strikes were designed to economically cripple anyone whose supporting or enabling the US and Israel.
It's also not just some tragedy. Its a DIRECT message to stop targetting the civilian leadership of the Iranina government.
The US KNEW targetting the Supreme Leader Ayatollah Ali Khamenei and President Masoud Pezeshkian would mean a "total war" response.
So Iran is willing to strike Dubai. A target valued by the world's top capitalist.