Why did the Bay of Pigs invasion end in defeat for the United States?

Cuban forces had better supplies.

Other communist countries interfered.

The plan wasn't a secret.

The Soviet Union had too much influence in the West.