We are not quite sure where thoughts come from.
Possibly they arise from the numerous interactions of our daily living.
Whatever it might be it seems thinking is a behavior.
But thinking or our consciousness does not change until two things happen.
1. Something concrete has to happen from which one can experience the learning. In this way one’s consciousness is changed through an event.
2. The other way is to use imagination to learn about something; create a change and based on the feedback change one’s consciousness.