I genuinely do not get the sort of emotive value that Pakistanis attach to foreign relations. Why do you believe that any outside Gov owes Pakistanis their 'loyalty'?
1. Does Pakistan have the financial wherewithal to withstand any economic measures taken against it by KSA and UAE? It does not.
2. Did Pakistan not opt to act in its own strategic interest and opt to sitout the Yemen conflict? Then why act like this is something KSA / UAE cannot do for themselves as well? You can talk all day about and 'incoming' implosion in the GCC but it will not be. Just take a look at the conduct of China (selling weapons, nuke tech and technical expertise in the region, becoming the biggest customer for oil from KSA et al, at the same time pushing for further integration with UAE economy and integrating itself with Iran), US (furthering ties still with the GCC), India (increasing ties with the GCC to the point where they are now part of the OIC).
3. Is this the first time that KSA has acted against Pakistan? Nope, in their larger national interest, they stopped backing Pakistan and let FATF put us on the gray list, not all that long ago.
4. Pakistan's nuclear weapons do not guarantee it anything other than territorial security. All of its armed forces, economy and politicians have been largely dependent upon money from the GCC for everything from running the war in AF, to weapons purchases, to even sustaining a parity with India and not to mention to keep the country from going under. It was there until it served a purpose for the GCC, now that we showed that we can think for ourselves - they've opted to do the same for themselves. Unless and until Pakistanis start thinking for themselves and become actually cold and calculated in their outlook towards the world, this episode will keep on repeating.
5. Just please do remember that there's no free lunch in the world, anyone who gives you money will come asking for their pound of flesh. You'd remember it, when thinking of the relationship as anything but that. This stands as true for GCC as it has been for the US and as it will be for China.
6. If you actually want to have an independent foreign policy, end your economic dependencies. Do not expect others to abide by your sensitivities.