I think the problem we have with America as of right now is a lack of communication and ALOT of mistrust. Relations were deteriorating after OBL was found in Abbottabad but America still held on to us because they needed us for their supply lines in Afghanistan. Also as general support while they were still in Afg supporting their puppet government while also fighting the Taliban.
Ever since they left last year they know we have no more leverage on them anymore and that's why they keep turning a cold shoulder to us (such as Biden not calling IK). Add to this the whole China and CPEC thing and they believe we are firmly in the China camp but they don't realize that us being in the Chinese camp is not meant for anyone in the world besides India. We can have great relations with America and the West whilst still being in China's bloc because being in the China bloc is just a deterrence against any Indian aggression, specifically in the Kashmir region.
That said, what we need is a thorough conversation between the highest delegations of both countries to meet and talk things through. Tell them our plans with China are nothing but to develop our country's infrastructure and get our economy going again. Also tell them that they are free to invest whatever they want into the country as well, we can truly act as a bridge between the 2 major superpowers like we did back then. Tell the US that them relentlessly supporting india and ignoring Pakistan will shift the power balance in this region by a lot and Pakistan (and China) will take it as a major threat.
They can not afford to lose Pakistan as a strategic partner because the region is too valuable and they know this, they will need us just because our location is situated in the middle of south asia, central asia (Afg), China, and Persia (Iran). That's why they are attempting a soft-coup to replace the government with a much more pro-west government. They would have tried an actual regime change with a bloody coup but thankfully we have nukes and a competent military.