Today I saw this question and strange that no one has replied to this question
so here is my advice
It's understandable that you feel confused and hurt by his behavior. However, it's important to remember that people's actions are often influenced by factors beyond our control, such as their past experiences, fears, and personal issues.
It's possible that the guy was genuinely scared of hurting you and felt that distancing himself from you was the best way to prevent that from happening. Alternatively, he may have been struggling with his own emotional issues and needed to distance himself for his own well-being.
Regardless of the reasons behind his behavior, it's important to prioritize your own emotional health and well-being. It's okay to still have feelings for him, but it's also important to acknowledge that his behavior was hurtful and that you deserve to be with someone who treats you with kindness and respect.
If you feel comfortable doing so, you could try reaching out to him to discuss what happened and see if there's a possibility of repairing the relationship. However, if you don't feel comfortable or don't receive a positive response, it may be best to focus on moving on and finding someone who will treat you the way you deserve to be treated.