Hurt people hurt people. Algeria was monstrously ravaged by French colonization.
But also, intellectuals like Franz Fanon and Sartre really glamorized Algerian violence, to an unhealthy degree. It's no surprise that the Algerians ended up turning that violence on their own, after the French left.