I’ll agree with you that Kennedy tried to invade Cuba, in a fashion. But the US did not occupy Cuba. The Russians pay more attention to the “occupy” thing.
Only because the American proxies were defeated at the Bay of Pigs. The US had every intention of "occupying" Cuba. The occupying force was to be American proxies, and not the actual American army.
Don't get me wrong. I wish the Bay of Pigs had turned out differently. The people of Cuba would have been so much better off had Castro been defeated.