A big chunk of that demand is for 2nd or 3rd or even 4th properties as investment rental properties. Can’t afford a house in the sf Bay Area, no problem, go buy 4 investment properties in the Midwest! I know people who’ve done that.
Also look what houses are built, they aren’t starter homes in many areas. They are “luxury” (luxury per home marketers, sq ft, and price, I won’t go down the rabbit hole of what I personally think).