If a solider is operating on orders when killing civilians, it's legally not murder. It's still bad, but they will not charged by the government with murder because it was authorized by the government.
That's what I'm saying here. There are legal definitions for these words that matter.