That's just a psychological hint from the heart. Your brain logically shows you the most likely thing to happen.
For example, if you fail in the exam, you will dream that your teacher or parents are scolding you.
This is just a very common thing, very logical. Maybe it's just what happened to you that made you unable to react quickly to the results.
When people sleep, the subconscious of the brain works very strongly.