Deep State did not like JFK. Like Trump he was a disrupter. His brother Teddy, not wanting to be another victim, became very much a Deep State tool and opposed Carter because as bad as Carter was he was also a disrupter (we got many major deregulations under Carter).
And LBJ was just their type of guy to go along.................