You have to ask yourself, why this is the case. And the simple answer is status quo bias. Many dream of a different life, but few will actually pull the trigger on a major change.
However if a company suddenly changes an established working relationship, then all bets are off the table. If people have gotten used to WFH, and now you make them come into the office, then you’re invalidating the status quo bias. Switching jobs is probably less disruptive to their status quo then going back to the office.
Corporate managers are forgetting a very maxim. Never piss off your employees by taking away something they feel entitled to. It’s the same reason that it’s virtually unheard of to cut salary, even when revenue is collapsing in a deflationary recession.