"It's not a war crime the first time!"
Anyway sadly even if they did start attacking civilians, say Palestinian civilians as a random example, who is going to enforce the penalty for war crimes. These days its seems they're more of a suggestion than a rule of engaging in war.
War crime laws only apply to poorer nations sadly