Deliberately attacking a purely civilian object violates the principle of distinction, which is bedrock customary law the US has never disputed.
> “better than carpet bombing”
The lawful alternative is attacking military targets, not worse civilian targets.
> “why is it legal for Iran to bomb oil tankers?”
Iran’s conduct being illegal doesn’t legalize this strike. Whataboutism is a scourge.