Remote vs. non-remote seems like a huge factor here.
Sure, many people when they're young are geographically flexible. But that's less true as you age and are tied down by a house, spouse's job, kid's school, daycare, etc.
If you have to come into work, then all those details depend on your job location. You can't just change job locations. Again, this works for some single young people who rent apartments in NYC or SF. But that will always be a subset of job candidates.
This is why the trend towards remote seems inevitable. There are just too many incentives for too much of the workforce to require it. Long term that
Of course these things have always been true, but since remote work became prevalent I think people have realized how shitty of a situation it is - especially when you're not compensated for it. In fact you are actually compensated LESS since you arent job hopping.