Why are guys different when around friends ?

Please tell me why guys treat you differently around their friends ,

Rude or not .. just different than when you’re alone just you and him