So, the United States welcomes Cuban immigrants with open arms, including with an official policy that any Cuban immigrant who sets foot on US soil presumptively deserves refugee status.
We treat Haitian immigrants, who come from almost next door to Cuba, like vermin.
Is it a coincidence that most of the original refugees from Cuba had very light skin, and the Haitians generally have very dark skin? (Lots of Cubans are very dark-skinned, but most refugees from the Castro regime were emembers of the former elite, who tended to be very light skinned, reflecting an anti-Black bias in pre-Castro Cuban society.)
I don't think coincidence is much of an answer.
While geopolitics and the Cold War come into play in high-level policy, leaders like Trump focus entirely elsewhere, appealing to their racist base.
Quite on purpose.