Context: prime minister revealed that he had been spied upon, also defense minister and others. A few days later he published a letter to the king of Morocco reversing decades of Spain's position on Western Sahara. That's a competence of the parliament, not his, but that doesn's seem to matter.
A common belief is that he's being blackmailed.
Oh and Morocco is now in very good relations with Israel:
https://en.wikipedia.org/wiki/Israel%E2%80%93Morocco_relatio...