What is wrong with me mentally that I can’t move on from someone I had no romantic relationship with but we talked sparingly for the past 2.5 years?

What is wrong with me mentally that I can’t move on from someone I had no romantic relationship with but we talked sparingly for the past 2.5 years?
Post Opinion