I have a friend who for about a month started flirting with me. For the most part they were little things a few times a day, winking or sticking their tongue out at me when things said could be taken "sexually". But sometimes there were events that really took it farther like "I know you wanna touch my butt" and offering me the opportunity or verbally suggesting other romantic or "sexual" things rather than the more subtle winking. It was at a point where several of our mutual friends believed they were interested in me. Until after a month of it they somewhat abruptly declared that they is not interested in me or anyone else in the friend group and would never date any of us. Unknown to them I did have a crush on them before the flirting started, but I would rather keep a friend than risk losing it over that.

For the next few days I spent very little time with friends. I had a big homework assignment to do so they felt like I was avoiding them, which I kind of was. I needed time alone to get over the "broken heart". Afterward we talked a little and they voiced how their flirting meant absolutely nothing and they were not interested in me at all.

Now things are awkward between us and we are no longer as good of friends as we used to be. they claims that since then I am sometimes hostile towards them. I just feel awkward at this point and sometimes jealous of those who are closer friends with them than I am now.

I cannot help but be upset at them and get jealous or hurt. I am no longer one of their best friends. I know its not 100% their fault but did i overreact? AITA?