Why would a girl only have a proper conversation with me when I'm alone?

Everytime I'm with my friend she barely says hello to me. But when I'm alone she will have an in depth conversation with me
Why would a girl only have a proper conversation with me when I'm alone?
Post Opinion