It was a Cold War thing. Pakistan helped the US bury the Soviet Empire in Afghanistan.
I’m not entirely familiar with the politics of the Cold War thing. Lately it just seems we are not getting much for our money over there. In my opinion we need to either A:cut off aid/resources or B:somehow make our relationship stronger and better with them. Right now it seems we are kinda in the middle. They are “sort of” our allies. I don’t get it.