A weird hypothesis is that a dream might not even be a story until you wake up—like a wave function collapse[1] of abstract brain activity. Freud wrote about a man being jolted awake by his headboard falling on his neck the very moment he had been guillotined in a dream, and I think most of us have examples.
[1]:https://en.wikipedia.org/wiki/Wave_function_collapse