In typical regional fashion, he has also started to interpret diplomacy, erroneously if I might add, as a zero-sum game. The only difference is that he is not only under pressure by external powers but also his domestic constituencies who have their own vested interests in the direction of the country. Right now, there is rising discontent in the North, the brother of the Sher-e-Panjshir, a man who commands significant influence is openly lambasting Ghani and his government.
These factors and a lot more, including the need to justify security shortcomings and ANA's lack of meaningful successes against the Taliban and other insurgent groups is leading Ghani in a tight corner. In such a situation, anti-Pakistanism is the one sure card that he knows he can play to pull some fringe elements into his government's orbit, and that's exactly what he's going to do.