This is called “detachment gain,” as explained in The Detachment Gain: The Advantage of Thinking Out Loud by Daniel Reisberg, and refers to the “functional advantage to putting thoughts into externalized forms” such as speaking or writing, leading to the “possibility of new discoveries that might not have been obtained in any other fashion.” If you’ve ever had to write out a word to remember how it’s spelled, you’ve experienced this.