They moved from one place to another in search of food and proper shelter.
Whenever they assumed any danger , they left that place. And they oviously needed food for surviving. So in search of food they had to move from one place to another.Except this their aloso several reasons like -
.natural calamities
.lack in prosperity etc etcs

2 3 2