The Navy said Yaste was relieved of duty “due to a loss of confidence in his ability to command the guided-missile destroyer” that's currently deployed in the Gulf of Oman. The statement didn't elaborate about why Yaste was replaced.
I wonder if he truly deserved it. It would be really lame if the justification was purely the bad PR from this photo. I imagine knowing your way around a rifle has nothing to do with running a boat, and vice versa.