First of all, it’s difficult to be in a relationship, especially at work, because it can affect your job.
I think he actually does like you, but maybe you haven’t really shown him any signs that you’re interested in him, so I think that’s why he’s behaving like that.