What does it mean when a girl hugs you randomly?

So my friend just comes up to me and hugs me? And then she starts talking about her boyfriend saying how he’s taking the relationship too fast which I didn’t really care about.
What does it mean when a girl hugs you randomly?
Post Opinion