Whoever is responsible for the wheat shortage, is responsible for a lot of misery. A similar reason seems to prevail at present, though the justification is not a war, but the greed of people also powerful enough to get permission to export wheat. Wheat is harvested once a year in Pakistan, in Rabi (the staple in Kharif being rice). At the time of harvest, when the new wheat arrives to the market, prices are at their lowest. It makes no sense to earn foreign exchange by exporting, only to spend that foreign exchange on importing wheat or sugar later.
Source: Pakistan Today January 22, 2020 18:56 UTC