This is the more interesting question, I think. 30+ years later still having dreams about exams for classes I forgot to drop, exams I didn’t study for, etc etc.
Having dreams about upcoming exams seems obvious compared to why a lot of us have dreams years and decades after your college years are over.