Conjecture: during sleep the mind moves short term to long term memory, when formed, the memory fires adjacent nuerons and these fired nuerons form the dream
In your case, seeking an old memory may have fired other adjacent nuerons, perhaps ones that have been dormant for some time
I will do this when trying to remember something.. think around an memory and my own exposure to it contextually hoping to indirectly find the desired memory
As an example, if you have trouble remembering people's names. Picture the face of someone you remember with the same name on top of the new persons face. This will cut out a lot of work for your brain, as it will utilize an existing pathway.
This is why something random can sometimes trigger a memory we didn't expect. It's more complicated then that of course, but that's the idea.
I had episodes of minute memory losses in the last years. And everytime I gathered the answer after long time by having flashes of things similar in nature. Trying to remember a name, I went through a stream of wrong names of people of the same origin, and same prefix (bou) until the right suffix hit me.
She doesn't like that.
I had an interesting personal experience recently. I’ve been trying to learn Russian from Duolingo and to better enable myself, got a few books on Russian grammar etc. I read them at night in bed. While I was trying to memorize a grammatical rule by reading over it a few time. I suddenly had a recollection from a early childhood. First I had this visceral feeling inside. Very similar how a smell might trigger a feeling of memory inside. Then I remembered something very vividly that I had not thought about or had completely forgotten. It almost felt like while my brain was trying to memorize something, it reactivated something inside.
I’m now curious if this was a random coincidence or if memorizing something new will help me keep older memories or reactivate some forgotten ones.