This is an example of?
Flashback.
Flashback is an expositional device which reveals to the reader missing information or background about a particular event or character or the story as a whole.
This device can help build character, structure the story and bring relevant information which makes the story more engaging and complete.