Legal. Moral. Ethical.
Those three principles are the bedrock of chain of command orders in US military.
Now, just because you feel one of the above is out of sorts doesn't make you right, however, if you do feel that strongly about it, you have a duty to refuse/disobey.