That's dual use infrastructure. Its also used for military and goverment purposes, right? The same as China providing weapons components to Russia, masking them as "civilian".
Children have a more developed sense of ethics than that.
Attacking civilian infrastructure is defined as a war crime by the Geneva Conventions. It's not something a person on the internet made up.
Especially desalination plants (your sunshine promised to bomb those as well).