Because you take things to heart. Try not to take things personally.
Him not wanting to talk doesn't make you less than. Or isn't a negative thing. Would you rather he pretend to like you and silently resent you?
He doesn't know how to properly communicate so he has saved you from further confusion and a waste of time.
The Second Agreement: Don’t Take Anything Personally | World of Psychology
The Key to Calm: Don't Take Anything Personally
Honestly is the best policy. Don't waste someone's time and lead them on thinking one thing when its another.
When someone isn't for you it's not necessarily an indictment on either of you...some people just aren't meant to be.
Love yourself and be content with that at the very minimum.