Answer:
They had the walls as a pretective measure, since the walls reached around where everyone lived, it helped keep the people within safe from outside forces.
Explanation: