If a toddler should touch something hot, they learn a lesson.
If an animal encounters an electric fence, it learns a lesson.
However, brake check a tailgater and instead of them thinking “Holy shit! I nearly crashed into the back of that car! I’m far too close! For everyone’s safety, I should back off and learn to keep a safe distance”, they just get EVEN closer.