Having just read a account of the Bay of Pigs the myths of what happened and the blame on Kennedy for failure are till there.
That operation was planned during Eisenhower’s administration and after Kennedy was elected, instead of Nixon, the parameters of the mission were expanded and enlarged. Kennedy signed off on it.
At the last minute a bombing mission to take out the last of Castro’s airfare was called off, not by Kennedy, but by his Special Assistant MacGeorge Bundy. To this day no one knows who told Bundy to do that and why.
Also this was a CIA operation all the way. Curious thing Allan Dulles, Director of the CIA, and the brains behind this as well as the one in charge, was not at his post and for some reason took a vacation out of the country at the crucial time. Why? Only Dulles could have put the airstrike back in and he was gone.
In Ike’s time, Castro had not outed himself as a Communist yet.