What does it mean if a girl ignores my messages, but goes out of her way to talk to me in person?

So there's this girl I'm crushing on, but whenever I message her, most of the time she leaves me on read. But when we see each other in person, she talks to me like she doesn't. I guess I should also say that she has a boyfriend (long distance) and that could be a factor of why she ignores my messages, but why doesn't she ignore me in person too? I'm really confused with her behavior. I don't overtly hit on her, I occasionally flirt in person, but not that much. What do you think?
What does it mean if a girl ignores my messages, but goes out of her way to talk to me in person?
Post Opinion