Long commutes are mostly employees choosing to live further away from the office. I saw it often with my coworkers. They could have lived closer to the office. I got a place across the street from my office. Later we choose to move away because we wanted a bigger house.
If everyone moved within 3 miles of their office it would massively cleanup the traffic commute situation. But we build huge highways which subsidizes people who live far away from their offices.