We rehearse and reconstruct what we think happened into our final memory. In the process details get changed, eliminated, and added to fit the narrative that we have.
This is widely recognized as one of the biggest problems with eyewitness reports. In an extreme form, this is also the source of false memory syndrome.
Cheers,
Ben