Lisa Randall's book "Dark Matter and the Dinosaurs" has that vibe (not about passing stars, but about the solar system passing through an area of the galaxy thick with dark matter - but the imagined impact is the same).
Maybe dinosaurs jumped to another star that time and arranged some fireworks to ensure no one will follow?
The butterfly effect, where the 'butterfly' is a stellar object.