Why did a guy at work contradict himself so much?

Why did a guy at work contradict himself so much?
I just recently realized how much he actually did that.

At first he called me smart, said i must ve tons of guys texting me and that i get tired of them all,

Now he insinuates im lacking in intelligence, and said he doesn't have time for me and that i just want attention
Why did a guy at work contradict himself so much?
Post Opinion