Are you saying they didn't have a right to do that?
I am absolutely saying that they didn't have a right to do that, and the Supreme Court agreed, multiple times.
It is not the prerogative of a uniformed service member to question the authority of civilian command authority. Orders may be refused if they're are facially illegal. There is nothing facially illegal about a deployment order.