During my time long ago I was 100% apolitical so I didn't pay much attention to such issues but I've always suspected that the open,public,display of contempt for senior members of the chain of command was a court martial offense.
Maybe some JAG type Freeper can school me here.
Over qualified Sea Lawyer here.
Article 91 Insubordinate Conduct
Article 92 Failure to Obey Order or Regulation
and always and of course
Article 134 Prejudicial to the good order and discipline of the unit.
for starters.