It's pretty simple. That's normally when it happens. When you're sad, you're thinking about what's making you sad; you're daydreaming or reminiscing. When you're in love, it sparks the same feelings. When a movie is made, they want to mimic "normal" reactions and feelings.