Why was the Bay of Pigs invasion a failure?

a. The Cuban weather was stormy.
b. The CIA trained the Cuban exiles.
c. Many Cuban exiles died or were imprisoned.
d. The Cuban people did not support the action.