One thing, Arab can change anything, but this Shia vs Sunni conflict not going to be over soon.
The Iran too know this that Pak is ally of KSA, and they can ditch us in last minute. And KSA also know this that in future Indians also start to exert there influence in Arab through Iran, and that going to be disaster for KSA, because India has potential to bring Israel and Iran on a common table to fight so called "Wahhabism".
And then it would be lost fight, so they needed Pakistan to counter influence this situation. You can deny this 100 times, but KSA feeling the heat about Iran's future, they feel threatened, what if Asian powers start to force Iran?
And I can tell you this most of asian powers dont like KSA, even China. China too knows what KSA was doing in all these years.
And in some cases India feel more threatened from KSA rather than from Pak.