Threatening civilian infrastructure (e.g., power plants) is a war crime under Article 56 of Protocol I to the Geneva Conventions and international law. It also violates US DoD Law of War Manual guidance regarding proportionality & civilian distinction.
https://ihl-databases.icrc.org/en/ihl-treaties/api-1977/article-56
