I've found your brain is extremely quick to jump to conclusions in a dream. It's surreal sometimes where random connections like your alarm clock suddenly come out of nowhere and draw you back in.
What really gets me sometimes is when the dream comes with a 'historical context' that serves as a false memory. For example, dreaming I'm on a ship, and I 'remember' that I've been on it for months.