Its called THE CHAIN OF COMMAND.
As an example. (Hypothetical situation)
In the civilian community, one would not run directly into a gun fight. This does not make seance.
In my Marine Corp, If the order comes down our chain of command to do this, you do it. With fire in your eyes. (part of the reason the Marines are called DEVIL DOGS.)
PROVEN past tactical success had rationalized this action. (if this is what was deemed necessary by the higher ranks in the chain)
ALL service personnel are bound by the UCMJ. (Uniformed Code Of Military Justice)
The Military's Law.
Like it or not, The President is our Commander and Chief. The top of the Chain.
Disobeying a command will subject you to the penalties, you agreed to, when you JOINED the service.( UCMJ )
Semper Fi. (always faithful)