Ok that was a knowledge gap, I wasn't aware Moroccans were mostly Berber speaking until the modern era. I assumed they transitioned to Arabic/Darija around the same time as the other former Roman Christian territories. Must've been other pressures that drove Arabization at that point since they were a predominantly Muslim population by that point.The Berber Senhaja Almoravids were fanatic Muslims and even when they expanded into Al-Andalus after taking the Western Maghreb were seen by the Christians of Al-Andalus as completely alien as the Andalusis tended to be a lot more moderate & tolerant. Yusuf bin Tashfin could barely speak Arabic according to some historians. They were responsible for bringing conservative Sunni Islam that existed in the East to the Maghreb. As the Berbers at that mainly practiced syncretic forms of Islam. The Almorsvids also believed that men’s faces should be covered similarly to how the Tuaregs of today dressed. Must have been surreal for the Muslims & Christians of Iberia to see these veiled desert warriors for the first time.
The Almohad Masmuda Berbers actively fought off the Arab tribal migrations (or invasion) of the Bani Hilal and smaller allied clans like the Bani Ma3qil. The Battle of Setif, the Almohad Berbers and their allies defeated a large host of rebellious Arab horsemen of the Bani Hilal.
Both of these non-Arab dynasties were responsible for checking the growing Christian powers of Castille,Portugal & Aragon especially the Almoravids.May Allah be pleased with all the heroes of Islam like Mujahid Yusuf bin Tashfin. Neither of them Arabized the Western Maghreb. Arabization mostly occurred in the modern era for Morocco and even many parts of Algeria.