The surge of migration eastward fits a pattern of families escaping densely populated cities, a trend that dates back to the mid-20th century.