Thousands of Moroccans take part in a protest in Rabat.

Ever since Morocco normalized diplomatic relations with Israel in late 2020, the government has had to engage in an awkward balancing act—nurturing fast-growing political, economic and military relations with Israel while simultaneously portraying Rabat’s official position as remaining actively pro-Palestinian.