When it concerns Israel, I agree with you 100%, but things start to get tricky when Saudi Arabia gets involved. It's sort of like a love triangle.
Also, Pakistan wants to, and has to, maintain good relations with the US and I don't blame you for that. It's only reasonable and fair to pursue your interests.
More than KSA, it's Iran's own policies that make things tricky. I am quite sure Iran would have similar opinions about Pakistan's policies, and they might actually be true as well. But for Pakistan, Iran's tilt towards India has been problematic since the fall of the Shah, and the anti-Pakistan militants and RAW agents often operating from Iranian soil haven't helped the matter either. Despite this, Pakistan is quite possibly the only country in the immediate neighborhood holding
relatively favorable views for Iran, regardless of regime type and its policies.
If KSA ever influenced Pakistan's Iran policy, then quite possibly you would have had a hostile Pakistan to your East, and it would be acting either passively or worse, antagonistically, during the current conflict, much like the Gulf states. What you instead have is Pakistan's balancing act beyond its best. We have never seen such diplomatic maneuvering in our history, not even for Pakistan's own sake, just to end the conflict that we are not directly part of.
Do you think KSA doesn't want us to drop bombs on Iran while it targets its oil fields? They would love for us to do that. Yet, Islamabad and Rawalpindi stay awake late in the night discussing peace plans with both Washington and Tehran. Iran should learn to discern between friends and exploiters.
Edit: Long before KSA, Iran was Pakistan's strategic ally.