What alternative do you have even for many highly-paid professional jobs like doctors?
But a ton of STEM jobs do require access to labs and other facilities or may have requirements related to security clearances etc. A lot of skilled people can't just work from home and many others travel a lot even if they don't regularly come into an office.