It is right there in our language: Getting closer to a solution we say is "getting warmer".
That happens in the body first, and then the mind gets to say it. We move towards what makes us feel warmer and away from what makes us feel cold.
Ideas can leave us cold in the same way.
Solving problems is a physical and emotional experience first, with the mind catching up later.