As you seem to be massively misinformed:
> Distracted driving is dangerous, claiming 3,308 lives in 2022
> What Is Distracted Driving?
> anything that takes your attention away from the task of safe driving.
https://www.nhtsa.gov/risky-driving/distracted-driving
Now obviously having a hat land on a windshield and actually block visibility would be worse, but catching something falling out of the edge of your vision especially something odd like a falling hat would easily qualify.
It’s also distracting pedestrians and so likely to result in other injuries.