In movies, it has to do with the beta movement, the phi phenomenon, and perhaps persistence of vision (this one is disputed nowadays).
An early researcher was
Joseph Plateau (with my apologies for the ironically bad visual layout of this site about visual media).
In real life, the
reverse rotation effect, as it is called, is supposed to be rare, although my experience is that many people do experience it.