Why would my friend of 14 years open up to me about her recent break up and then hit on me in the same day?

I’ve been friends with this girl since 2011, and she recently broke up with her boyfriend of two years about three weeks ago. During a group vacation at the beach, she opened up to me about what happened, how he’s trying to improve himself, and the possibility of them getting back together. I listened, offered support, and pointed out how I had noticed her energy shift and his absence.

After our talk, I gave her a hug and reassured her that I was there for her. At that moment, one of our friends jokingly yelled, “Kiss, kiss, kiss!” I was caught off guard, and we just walked back to the group. The rest of the trip, she was noticeably flirtatious—laughing at everything I said, touching my arm, complimenting my physique, and making an effort to stay close to me. She even made bold comments, like telling me to “take off your pants” while we were doing yoga and suggesting we go to a nude beach together.

Later, I pulled aside the friend who made the “kiss” comment and asked why she said it. She thought we looked cute together. I told her that while I sensed a connection, I wasn’t acting on it because of the recent breakup, the uncertainty of her getting back with him, and the fact that we were on a group trip. I suspect she shared this with the girl, but it didn’t change her behavior.

So, my question is—why would she confide in me about her relationship and a possible reconciliation, yet turn around and flirt with me so openly?
Why would my friend of 14 years open up to me about her recent break up and then hit on me in the same day?
Post Opinion