I've wondered this, but I think it is deeper than thinking. Sometimes you don't even need to think nd your consciousness is set off on something.
It is almost a reptilian gut instinct.