The job market is still pretty hot. Employers having problems finding employees. And even more problems keeping up to speed trained employees.
An employee has proven they can do their job from home. for the past 2 years of covid and make $x.
Then having them come into the office, gas, drycleaning, parking, lunch, commute time etc.. Means their $X minus all of those extra expenses. So, essentially, come back to work for the same $, spend More time from leaving to returning and make less.
OR, Company B is willing to pay you the same, or MORE to do the same job you do now, except 100% remote.
Well, let the market decide.