It was because of a confrontation between Lehman and Rickover. Rickover being the crotchety old man that he was thought some of Lehman's decisions for the future of the submarine force were stupid and told him so. Lehman didn't like this and had Rickover removed. It pains me that Lehman didn't listen to the advice of the admiral who did the most (in my opinion) to win the Cold War.