That said the soldiers pulling the trigger are committing crimes. These are patently illegal actions to a common person standard which eliminates any defense of following military orders. That being said the soldiers, at least, are committing crimes. Accountability starts at the source of the crime.
If the government is ordering these actions then those are illegal orders, according to international standards of military conduct. The soldiers on the ground must ignore those orders on the basis of patently illegal conduct according to a common person standard and the officials facilitating those orders can be investigated for issuing war crimes.
As an example read about Slobodan Milošević
https://en.m.wikipedia.org/wiki/Slobodan_Milo%C5%A1evi%C4%87