What does it mean when a guy loves you in private but does the opposite in public?

In public he stays distant and quite especially Infront of his family, friends or stranger...

In private he will love me a lot and give me affection.

What does it mean when a guy loves you in private but does the opposite in public?
Post Opinion