I don’t understand why animals insist on running in front of cars all the time. Especially squirrels. They see you coming but they run out in front of your car anyhow.

Especially squirrels. They see you coming but they run out in front of your car anyhow.
I notice they expend a lot of effort zig zagging trying to deke the car - or they just can’t decide which way to go. Sometimes they choose wisely.
One theory ,at least fot night,is the shadow of the animal created by your headlights triggers a flight response. But running from the shadow means running toward the car...