>>1196686>>1198872>>1198884Since this seems to be a common occurrence, and it also seems to happen in familiar places when people are alone, could be a combination of automaticity and day dreaming leading to a self induced trance/hypnosis.
It has been mostly documented during driving but may include other mundane tasks (as walking in familiar grounds)
Basically what you are doing does not require your consciousness attention, which drifts away, only to "wake up" either from an unexpected stimulus or by finishing the task (eg reaching your destination).
Most people dont have a recollection of what they did, fewer may have fake memories
I am just going to lay some wiki links with a tl;dr for you to speculate yourselves
>https://en.wikipedia.org/wiki/AutomaticityAutomaticity /ˌɔːtəməˈtJsJti/ is the ability to do things without occupying the mind with the low-level details required, allowing it to become an automatic response pattern or habit. It is usually the result of learning, repetition, and practice.
Automaticity can be disrupted by explicit attention when the devotion of conscious attention to the pattern alters the content or timing of that pattern itself.
>https://en.wikipedia.org/wiki/Highway_hypnosis In the example of highway hypnosis, one stream of consciousness is driving the car while the other is dealing with other matters. Partial or complete amnesia related to the time spent driving under highway hypnosis can develop for the driver involved.
https://en.wikipedia.org/wiki/TranceTrance conditions include all the different states of mind, emotions, moods and daydreams that human beings experience. All activities which engage a human involve the filtering of information coming into sense modalities, and this influences brain functioning and consciousness. Therefore, trance may be understood as a way for the mind to change the way it filters information in order to provide more efficient use of the mind's resources.