Most Helpful Guy
From his perspective: you freaked out, started talking about not deserving him, and he may have thought that it was a "nicer" way of you saying that you do not want him. He may have also realized that if you sincerely feel that way, that you are not ready for a relationship and he is better off moving on with his life. Even though your relationship did not really take on a life, once he decided that he wanted you as more than a friend, he became incapable of backing up and just being friends again.
You had a chance but you don't always get a second chance. You need to work on your self-esteem before you even talk to someone else about a relationship. You didn't do this intentionally or consciously, but the result is that you played with his emotions, he got hurt, and he doesn't want to hear from you any more. Don't play with anyone else's feelings. Don't talk about relationships unless you are ready to commit.