Have men really stopped wearing hats? Caps are super popular. Sure you won't see the same hat wearing levels as the 20s, but we are far from universal hatlessness.
People still wear hats, but 100 years ago wearing a hat was literally as much a thing as wearing shoes when you go outside. It all ended around the end of WW2 but there seems to be no real historical consensus why.
Cars. It ended when people stopped taking public transit and started driving. Try wearing a fedora in a small 1950’s car and you’ll see why.
I don't know. When I was a kid in the 90ies, it was still common to see older men drive a car wearing a hat. On the other hand, if your car is really not high enough to wear a hat, is it really that inconvenient to take it off when you enter? Men also stopped wearing hats in countries where owning a car was the exception. This theory also implies that somehow, before the car, mobility with a hat on was universally possible. Try riding a bike with fedora. Or a horse.
My father used to curse men who drove while wearing a hat. The hat restricts your field of vision.
I feel like cramming yourself into a subway car with a fedora is equally unpleasant. At least in an automobile you can just put the hat in the passenger's seat or something.