Why is a girl more friendly towards me when the two of us are alone?

She is quieter with me when others are around. Then when it's just the two of us she will start some small talk and is more chatty with me

Why is a girl more friendly towards me when the two of us are alone?
Post Opinion