China agreed to invest in CPEC only after drone strikes ended and security situation improved. If drones are back, we are back to square one as Chinese are shrewd financiers would never want to their money go to waste.
Also annoying US would only hurt Pakistan exports as both US and EU are traditional export markets for Pakistan. Also even with Cpec, you cannot out produce China so to export your products there. This results in a larger debt which you cannot sustain.
So it is imperative for a small country like Pakistan to balance out its foreign policy and not put all its eggs in one basket. Hopefully, they will learn.