Why would a guy start grabbing snd scratching his dick outside his pants in front of a female friend?

The guy is a friend and co worker whom I just met outside a mall and he did this.

Why would a guy start grabbing snd scratching his dick outside his pants in front of a female friend?
Post Opinion