<human>: Could you distill the essence of the text into 1-3 sentences?

Several months ago we were briefly more than friends, but it was quickly truncated as she did not want to pursue a relationship. I was okay with that and we remained just friends. I can admit that I still had feelings for her, and I basically allowed her to walk all over me for a (maybe I wrongly-hoped that I might one day get to be with her, I'm not sure, I know how lame I was)
 
Recently she's become frustrated over school; we're enrolled in some difficult courses. When she gets frustrated and angry she becomes very quiet around me, almost to the point of not talking and just promoting her feeling of being upset. However, she does not want me to comfort her or touch her. Juxtapose this with the way she treats this other guy who has been hanging out with us at school, to whom she is always happy to talk to, she touches him (in a flirty way), even when "frustrated" over our classes. 

Am I jealous that he receives the treatment I do when she's upset and dejecting me? yes. But do I deserve the brut of her anger when I am not her boyfriend? no. I asked her the other day why she deadpans me when she's upset about school, yet is still jovial around other people to which she responded "Do you want me to pretend I'm happy like I do with them?"
Today she asked me "why am I so pissed off" to which I responded that I did not like her taking her anger out on me, to which she responded "I only acted that way because you weren't listening to me not wanting to be comforted." I stopped responding at that point. If she doesn't want my comfort but wants me to know she's upset, what is the point? I'd like an apology but I'm fairly certain I'm not going to get one, what do I do here reddit?
<bot>: I have a friend who wants me to know she's upset but doesn't want me to help her in any way, and she still acts friendly and flirty around other people. What do I do here?