Moving forward

Several years ago I fell in love with a friend of mine. But he didn’t. I thought that the reason was that I was not rich/beautiful/smart enough.
However, now I realize that none of these options are true. There could be a number of other reasons (maybe he just didn’t like peaches:). We don’t talk anymore.
Sometimes I feel that I don’t love him, although there are days when I still miss him or look for reasons why he didn’t love me. I know that this is just because of my thoughts. But I don’t want to miss him and have a strong desire to move forward. Could you please advise me on the matter.