Because if companies decide that in office is more productive or more reliable, remote options will dry up. And the fact most big tech companies are going back to office suggests they have the data to show it is more effective.
Where is the data? If this is true, then this is something companies will have to learn to deal with, and compensate differently for. If I enjoy working from home better, but am 10% less productive, please pay me 10% less. It's still not worth for me to show up to an office.