Inflicting casualties in a war is not a war crime, in and of itself.
Yes it is. Inflicting causalities on civilians without any military justification or proportionality is a war crime. And against the Geneva Convention.
See the recent prosecution of Serbians by the World Court.