Article 133 of the UCMJ. Conduct unbecoming and Officer and a Gentleman. In these types of matters, officer conduct has always be held to a higher standard than for enlisted personnel.
I agree with bullsnipe, it was conduct “ unbecoming” of an officer. You lose respect of your men by behaving this way and you can’t run a boat if your crew doesn’t respect you. look no further than the lastest incidents in the sea of japan. Root cause of the accidents and deaths of sailors— No Respect of command.