Why does he only flirt if we are alone?

My guy friend only flirts with me when we are alone. If there are his other guy friends around, he will act casual like if nothing and not flirt. Why does he do this?
Why does he only flirt if we are alone?
Post Opinion