All those cities came from the tribes of Judah, Simeon, and Benjamin. They decided which Levite family got which city by throwing lots.