Before that, Cuba had a thriving fruit and vegetable business that provided the country with food as well as exports.
Castro was no agriculture expert. Many tinhorn dictators, upon ascension to power, suddenly become experts about everything.
Cuba suffered greatly and soon went from a food exporting nation to a net food importing nation.
Ideology can't feed a nation. As in Africa, stupid is as stupid does!