The only difference is in who they answer to.
Murder is unjust killing. Killing civilians to make a point or to cause chaos is, by definition, murder. Let's not equate that with all the legitimate things armed forces are for.
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.
The Catholic Church is a good example. The fifth commandment is thou shall not murder. And the Catechism clarifies this by saying
> The fifth commandment forbids direct and intentional killing as gravely sinful. The murderer and those who cooperate voluntarily in murder commit a sin that cries out to heaven for vengeance.
Source: http://www.vatican.va/archive/ccc_css/archive/catechism/p3s2...
In international arena, there's no universal law.
Some idiots killed a few thousands Americans, and then some Americans did go on a killing rampage as a revenge, murdering 10s of thousands mostly unrelated people. That's about how it looks from the outside.
Pretty much every single person involved in, say, the Iraq war was indeed a murderer. Most of the battles the West has engaged in since WWII were unjust and ill-founded. The people involved in those wars are murderers.
There's a semantic discussion about whether "lone gunmen" type attacks count as "terrorism", but categorizing motivations in real life as politics or insanity isn't so simple.
Please don't attribute homicidal political views to insanity. These people don't have schizophrenia, and people with schizophrenia aren't terrorists.