<human>:  Why did the French colonize Algeria?
<bot>: The French colonized Algeria because they wanted to control the flow of oil from the Middle East. They also wanted to protect their colony from the British, who were trying to take control of the area.