Hey, there!
If you're talking about the story "Hamlet" then its probably because William Shakespeare was foreshadowing on what'll possibly happen later by giving it to Hamlet and find out about the truthfulness
Good luck on your assignment and enjoy your day!
~MeIsKaitlyn:)