I’m pretty sure the US has multiple plans to go in and secure the nuclear weapons and I’m pretty sure in that contingency even China is onboard it really doesn’t want India and Pakistan lobbing nukes at each other.
Beyond that Pakistan doesn’t really have advanced military technology sure it has some US jets but those aren’t particularly useful to anyone outside of maybe Iran.