The Bay of Pigs was a CIA plan hatched during the Eisenhower administration that Dwight put the red light on but didn't kill the project. Kennedy wasn't much more enamored of it, the plan was supposed to be the defectors landing with USAF air support but Kennedy said uhhhh no. The CIA bullshitted him about how the defectors could win anyway so he said okay go ahead. If there had been US air support the defectors probably would have won though, 1500 of them with no cover on the beaches held out for 3 days against 50000 Cubans with all kinds of Soviet provided artillery firing on them nonstop. The Cubans attacked the beachhead like 3 times and got BTFO each time before the defectors realized no the USA isn't coming to help us so they finally surrendered.