As Americans we are at a distinct disadvantage compared to the rest of the world because of our monolinguistic environment. A Moroccan child, who grows up learning 3 or 4 very distinct languages will have language acquisition skills far superior to a typical American.
Although Moroccans speak Arabic, they do not generally consider themselves to be Arabs. The Koran is written in Arabic and is not supposed to be translated into other languages. Thus if you are a Muslim, and most Moroccans are, then you speak Arabic. However the Amzigh (aka Berbers) were here long before Islam arrived with Arab invaders.
The situation is somewhat analogous to the Spanish influence in Mexico. Most Mexicans are a mixture of Spanish blood and Indian blood, but they would never refer to themselves as "Spanish," they are simply Mexicans. Moroccans are an amalgamation of many influences, some of which go back thousands of years.