They aren't entangled to be disentangled to begin with. Sure, religion plays a role there, but Pan-Arabism is not a manifestation of Islam or related to it.
Arabs are the majority of the Middle Eastern population on paper and they kind of think of the Middle East as their domain and territory. Pan-Arabism had momentum in 1980s, but right now the major players of the region are Iran, Turkey and Israel. I don't think Pan-Arabism can revive again. MBS tries to revive it, but he seems inept and he relies on the US too much.