You might want to actually look up what does and does constitute a war crime.
Because the reality would surprise you.
Specifically that there are a lot of things which negate civilian protections.
Also, it's specifically that a country should try to MINIMIZE civilian causalities. Which...