I don't know what to say.
If she definitely doesn't want to be with you, then I'd say that you are just going to have to cope with your feelings, until time enables you to get over all this.
However, if she really does like you, and has reasons for her behaviour, then maybe you should give the relationship another go.
The thing is, you don't know which it is.
You can either give up, or
try to find out the truth.
How about a letter explaining how you feel?
~ Confused at her behaviour; willing to give the relationship another go if she is serious about it; but wanting to draw a close to it, if there is nothing there, so that you can mend your bruised heart and move on.
Whatever your head & heart decide, and whatever you discover, try to be positive, so that you can face the future confident that there is a 'Miss Right' out there for you.
Good luck!