This is a big factor for me, especially as someone who has been doing software development for a long time. When I first started it was typical to have individual offices, or at worst office sharing where you shared an office with one other dev who was likely trying to keep distractions to a minimum as much as you were.
Now almost every workplace is an open office plan, hot desk swapping hellscape.
If offices were like they generally were when I first started I would be a lot more personally pro-RTO, but the way they are these days I much prefer to work at home in peace and quiet.
(Of course, the peace and quiet aspect will vary based on the particulars of everyone's homes/families/etc).
Traffic is of course the other major factor. As someone who lives in Southern California, the commute time from where I live to where I work is either 15 minutes or an hour and a half based on traffic congestion and its pretty freeing to not have to worry so much about preplanning your commute to minimize the likelihood of landing on the bad side of this.