Why does she like my friend instead of me?

So there’s this girl at work that literally in person gives me every sign she likes me but outside work she literally doesn’t text me or anything. At work I talk to her nicely and compliment her and everything. But she seems to like my friend that literally has never talked to her one bit like she’s just looking at him from afar like am I doing something wrong here? I’m being me and it seems like it’s not enough. I’ve asked to have lunch sometime and she said yes. I don’t want to ask her out yet because the last time I did it fast the girl was crazy and basically ruined messed with a lot. Like she seems super nice and everything and even her brother knows I like her but won’t say anything because he doesn’t wanna say anything for her. And I can accept if she never showed any attraction to me. Because not every girl will find me attractive but don’t play with my feelings that’s like lying and that’s one thing I can’t stand at all.
Why does she like my friend instead of me?
Post Opinion