What does it mean when a girl approaches you out of the blue?

I'm waiting in the room waiting for class to start, girl 1 is talking to another guy (she knows for some time) and she sees me from her corner of her eye but does nothing. Then girl 2 appears and starts talking to me (I know girl 2 for some time and we're friends) and we make jokes. All of a sudden girl 1 comes toward us (leaves the guy) and makes a joke and then leaves a few seconds later. We weren't talking bad about girl 1 and there wasn't anything necesary for girl 1 to approach us. What's her deal?
What does it mean when a girl approaches you out of the blue?
Post Opinion