African countries faced a sharp rise in fuel and fertilizer prices amid the crisis