Is it possible that the causality is reversed? Maybe you start thinking because your subconscious brain doesn’t know what to do next.
When I got to the boss I remembered the battle being quite complicated and intense but I couldn't remember where to move, when to jump, or when to attack. But after a few tries as if by magic my fingers took over and executed the sequence of buttons flawlessly. It was amazing because I didn't consciously know what came next but my fingers did. I also felt a sense of euphoria as the memory came back to me; it was a really interesting thing to experience.