I feel like an idiot. Should I feel this way?

A year ago I dated a girl, but due to complications with school and work I planned shitty dates, and I think it rubbed her the wrong way. So she stopped responding to my texts, and I really didn't care. We were pretty good friends before we started dating, but I think it was because she really liked me. I had a class with her this semester, and I said hello and she kind of made me feel like I should just leave her alone, so I did. The next class I sat in a different area of the class, and she sat with me. She would ask me if I did my assignments and readings. Eventually when we left class she would walk up and ask me how I did on an assignment or test, and she would joke with me. Every time I would say something she would comment on it too, and I have seen her point me out to her friends on several occasions. It is strange, because some days she wouldn't stop talking to me and kissing my ass. Then other days she acted like I was bothering HER, and acted extremely hostile only towards me. She was hot and cold ALOT!

One day she dropped my class, and said she was going through somethings, but wouldn't tell me what they were. Everyone said I should ask her out because she was obviously into me. So I saw her one day, and told her I liked her, and wanted something more than friendship. She said she only liked me as a friend, and I asked if we could get coffee. She said "yes", and today she said "I don't want any sort of relationship." I said "okay, thanks for being honest!" What is her deal? I kind of feel like an idiot.
I feel like an idiot. Should I feel this way?
Add Opinion