Friendship Sinking

Tay

I started college not to long ago and made a friend. I texted her one night to get help on this essay I was writing. To my surprise her and her on-again-off-again BF were almost about to have sex for the first time. He was pissed.

She didn't really wanna have sex that day and asked me to lie for her. I thought we were girls so I did. For some unknown reason he wanted to speak to me and he wouldn't say anything to her about it otherwise.

We start talking and I'm not interested. I think he was flirting but I was putting him down always reminding him of Tee (friend and 1st initial of name). While this happen they broke up (again). Tried to get him to talk to her. Or tell her why he broke up with her. When this happened I blocked him cause it was already becoming too stressful. I really cared for her. He wouldn't have it. Tried to check up on her. She said she was fine.

Tee asked for screenshots of the whole convo. I felt like I was entitled to my privacy and shouldn't show her but at the same time THAT'S HER BOYFRIEND. So I gave 'em to her. According to her other friend (male) it looked like I was flirting. Now she won't talk to me. Tried to confront her about it in class but she blatantly ignored me...

I feel terrible that she didn't trust me like I did her and didn't even ask me about my intentions. She just assumed. I really want to be friends still but I don't think I'm coming back from "The girl who flirted with my bf behind my back". Was I right in what I did?