Why did I dreamed about my first love?

I met my first love when I was 17 and its my ever heartbreak cuz he's not into me. We used to be friends we always talk until he ghosted me now Im 27 years old and I dreamed about him Im not inlove with him anymore but its just weird I dreamed about him? by the way Im single and sometimes feel sad that Im getting older and still unmarried like Im almost 30 wishing to find someone but no luck
Why did I dreamed about my first love?
Post Opinion