I understand the literal and physical meaning of whiplash. But I'm a little of confused of its figurative meaning. Does it come from the movement of a whiplash, or otherwise from the feeling someone got whiplashed? Does it mean something change very quick? Or very sudden? Or very Often? Or a sudden change followed by a sudden turning back together? Or hurt or shocked?
some sentences may include (all quoted from vocabulary.com):
Readers may experience whiplash, toggling between her personal journey and the outrageous vignettes starring her fellow group members.
Regardless, the weather whiplash will be a welcome change and will hopefully dampen this year’s nearly continuous fire season.
As Election Day approaches, unresolved voting lawsuits are producing headlines — and whiplash — almost daily.
I'm a new English learner. May anyone give me some examples to help me understand?