If an army general orders a disastrous assault that completely fails, they might get demoted or relieved of command. The infantry that were ordered to charge the machine guns pay a much higher price (as do the junior officers that lead the charge). Hell, perhaps nowerdays they'll have a 'blameless postmortem' to 'learn lessons' and there won't even be a demotion.
Us folks who work for a living aren't charging any machine guns, thankfully - but if my boss's boss's boss can't get our division to make a profit the entire division is at risk, no matter how good my area of the division may be.
Or hell, maybe nobody in my 'chain of command' made any mistakes at all. We could be the world's greatest manufacturer of airplane seats - but if the plane they're put into has a few crashes, and orders dry up, there's no money to pay my wages.
Is it just? No - it's just the nature of work.
The comparison to a war zone is, despite most of us sitting in front of screens and not having to live through such actual horror, quite on point, I think. A failed or misguided strategy hits those on the front first and hardest.