Not every idea 'just' happens. Sometimes the best ones percolate for awhile. Get chewed on, stewed over before becoming fully baked.
I guess I am hungry this morning. I might as well go eat breakfast!
How many more food analogies could you come up with to talk about the origin and development of an idea?