Why would a guy say phrases like this for example at work?

So I had to sign something off from computer and he was near by he goes did “name” cut in front of you? Or I had to call him over one day and there was a girl and he goes never believe “name” and looked at me why he like that? But he also likes to say good morning every time he sees me or what I had for lunch yet stuff like that I find rude no?

Why would a guy say phrases like this for example at work?
Post Opinion