Actually, that was just one part of what he did; he also stated he would refuse to follow Navy policy if it conflicted with his faith. He failed to carry out his ministerial duties as expected of a Military Chaplain and imposed his beliefs on others, something that is contrary to one of the requirements for being a chaplain:
- Are sensitive to religious pluralism and able to provide for the free exercise of religion by all military personnel and their Family members
He chose to impress his beliefs on members who sought his counsel and thus was in the wrong. Why is religious pluralism important? Often the only available Chaplain may be of a different faith and thus they must be able and willing to carry out ministerial duties in a manner that helps and comforts the person, not pass judgement on them based on their beliefs.
Here is a link:
http://www.militarytimes.com/story/military/2015/03/10/chaplain-fired/24699275/