Famine could be caused by drought or flood or other numerous things. When the country can't produce enough food, its people would need to rely on food from outside.