why did towns often developed around oases