Batista's Cuba was very stable and friendly to foreign investment too, for instance. Then along came Castro, and suddenly not only was it not particularly stable, but lots of those foreign companies had all their holdings expropriated by the new government for having collaborated with their oppressor. Oops!