Fighting between the government and the militant group is driving people from their homes and complicating efforts to get food aid to those who are on the verge of starvation.