I don't know about Iraq. I don't even know what event of the US attacking Iraq you are talking about.
But maybe. Anyway, they made a lot of noise about how there were only targeting the electricity infrastructure in Yugoslavia, and didn't disclose much about any other place.
the scale is vastly different. As far as i see Israel hit 6 or something at the power station, and after that 4 were delivered as replacement. Ukraine related news mention things like this
"The US provided almost 60 transformers to the energy distribution operator in Kharkiv, enabling urgent repairs to the city's power grid damaged by Russian..."
Ukraine's power infrastructure not only was powering the country it was also exporting energy to Europe. It is a multi-redundant piece of USSR energy infrastructure, a lot of equipment which Russia has been methodically destroying for all those years of war, and Ukraine with the help of West - restoring. Huge churn of equipment.
I genuinely don't understand what compelled you to make this comment. One is a tiny enclave with just a handful of transformers and a rudimentary power grid. Another is the biggest country in Europe, home to about 40 million people, with a vast energy grid systematically targeted for three years, and harsh winters. It's +19 in Gaza and -4 in Kyiv right now, without electricity Ukrainians will very literally freeze to death in a very short time.
This is such a glaring disparity that the only explanation I can see is some kind of moral point, since clearly one is much more relevant to the global shortage of transformers than the other. What is the moral point you're making? What are you actually trying to say?