Of course there should be a hierarchy and a clear boundary between a soldier and a civilian. Absurd that you think its not fine to kill soldiers?
Secondly people do care about the death toll of combatants. People are not happy about the 23 US soldier killed, it is not a good thing, but it is worse when 23 civilians get killed.
It's “fine” in the sense that it's not a warcrime, but thankfully that's not the only possible moral standard that applies. The concept of a conscientious objector is very much rooted in the concept that it is not fine to kill, even if it's “just” a soldier.
> Absurd that you think its not fine to kill soldiers?
It isn't fine at all, but sometimes it can be necessary. Every soldier killed is still a tragedy and a loss no matter which side they fought for.