seems like both of those guys exercised some pretty poor judgement.
I'll give the captain a bogy on this one, he was given a chit sandwich by command and I believe he was looking out for the best interest of the crew. I really don't know if there were better options available or not.
The secnav was a turd, he had to go after his comments on the captain.