Why would an employer care how far away their employees live
Commute obviously has an impact on overall satisfaction. In roles that can be done remote or in person you can effectively trade commute time for pay.
This logic can be extended to employees working in person with contrasting commute times. Thus op's question