For me they stem from the characters. For example, right now as I write the last chapter of my work-in-progress, I am thinking of the next book in the series. I can see the beginning of the next book. The two characters meet in an odd way. I'm not entirely certain what happens next but I can see the 'meet.' Thats how my books get created.
How does it work for you?