Oil is fungible, used by Iranian civilians and the Iranian military. Refineries and oil storage are valid military targets, whether in Iran or in Russia (which Ukraine has been clobbering for a year or two

). If Iran built refineries in/near a residential area (or allowed building a residential neighborhood near a refinery), that's on Iran. Similarly, if Iran designed its sewer system so that gases or oil could flow from oil storage or a refinery into the sewer, that also is on Iran.
I'm not Snoopy-dancing that ordinary Iranian people are suffering some of the FO consequences of the Mullahcrats' FA, their 47 year war on the US, but war is not surgically precise.
Also, don't forget that if LIEden or Kammie were doing this, DU-folk would be cheering and Snoopy-dancing
(and I would not be carping about it, BTW).
...
How about the WW2 attack on the Ploesti oilfield?
I'm not sure how many DU-folk would know what you're talking about without resorting to W'pedia or a search engine. The Brits also attacked oilfields and refineries in the DEI during WW2, IIRC (possibly with the participation of USS Saratoga, CV-3?).