Chronologically speaking: Facts: Firstly, Algeria and Morocco were both affected by the Andalus Empire. (see : Al-Andalus ) so just like you said they have a shared culture de par the Andalus. read more
At about the same time, the French began immigrating in large numbers to Algeria, in an attempt by the French government to replace Algerian culture with their own. By 1881 there were 300,000 Europeans (half of them French) in an area of 2.5 million Arabs. read more