why does prices that fall on raw materials in Africa prevent the government from helping it's peoples

When the prices of raw materials fall, the governments don't get as much money.