Sorry, many soldiers are murderers. There's clear intention to kill. And justification does not happen simply because some idiot in power tells someone to go kill other people for political reasons.
And coalition is also killing civilians for political reasons, more than thousand of them a month ATM. It is obviously calculated. It's just that someone determined murdering perhaps 5-10 thousands civilians is a OK to give power over Mosul back to Iraqi government, and gave it a go.