1.) Writers tend to use foreshadowing or flashbacks. These are useful techniques that engage the reader and immerses them in the story.
2.) An author might use foreshadowing to increase the tension and suspense through hints displayed throughout the story, offering a glimpse of what may occurr later. This increases the emotional impact on the reader and his/her expectations.