There are different kinds of memory. The above is an example of implicit memory.
This is often known as nondeclarative memory. It is one that do not need the conscious or explicit remembering of past events or information.
Here, the person is often not aware that remembering has taken place. Implicit memory is known as a kind of thought of in terms of procedural memory.
Learn more about implicit memory from
https://brainly.com/question/10480124