Girl says she was just flirting with me I’m confused?

Back story me and this girl used to date, anyways she wouldn’t get close to me until a few weeks ago and she asked me if I had a girlfriend, and she told me that she didn’t have a boyfriend… then she told her friend that she was just trying to be friends with me why do you think she would ask me that, then tell her friend that she was just trying to be my friend.

Girl says she was just flirting with me I’m confused?
Post Opinion