Your feelings, both about him, and about the loss of the friendship are understandable.
I don’t know you or he personally, but I am familiar with such situations, and I think that the general wisdom in approaching them might shed some light on how things played out.
First, men preparing for the priesthood have spiritual directors and confessors. It is very possible that his advised him to take the actions he took, and he did so out of obedience.
Again, not knowing you personally, the truth is that often in such situations even though we think we can be “just friends” etc, and we want that to be true with our whole being, in reality it is not the case.
If the other person has that “closure” discussion, we are likely to bargain…“oh, but we can just be friends” etc etc, when the truth is they cannot. And no matter best intentions, the intensity of feelings on the part of one or both of the parties continues to be a distraction, temptation etc. Sometimes the best way is to end it, no discussion, no compromise etc. It’s is painful, but it can be for the best in the end, sometimes even the pain of that can lead to a sealing off of feelings. Like an amputation.
even if you feel you could handle just being friends, and it may be 100% true, perhaps that would be a difficulty for him, a distraction, or could lead to some manner of scandal that it is best to avoid. Even if you were not in any way having an inapporpriate relationship, a level of closeness could be misinterpreted and affect his ministry.
We always hope and believe we would be the exception. That we are strong and would not fall prey to the feelings and situations that other people do. That may be true, or it may not.
It sounds as if his homily was a clear statement, and I would advise you to take it as such rather than continue to seek to single yourself out and seek or demand a more personal explanation from him.
Since you clearly seek to serve the parish and God, seek discernment as to whether or not the sacrifice of this personal relationship may indeed be a strong way of doing just that. Put your personal feelings aside for the good of his ministry, the parish, and in the end your own well being. Letting this go and prayerfully moving on will leave you open to better serving and to one day have a relationship with a man who can commit fully to marriage.
It may be true that the best way of doing so would be to attend and serve at a neighboring parish. Seek to be as fully and deeply honest as you can about that.
As painful and confusing as this situation is, My guess is that he behaved in this manner out of respect and love for himself, you, his vocation and God.