Why would he ask about another guy’s feelings to me, is it out of curiosity?

So while chatting with a colleague , he asked me about a guy friend ( who works at the same place we work at and sometimes I chat with him). So my colleague asked me so who were the guy you were talking to and I told him he is a friend of mine, and then asked me i think he likes you or have feelings for you and I told him no I consider him as my friend , so he told me I am not asking about your feelings, I feel like he likes you and I told him no. Why would he asks me that out of no where, my mind feels like he just curious cause we chatted before about a girl and who do you think likes her. But it was a really weird question to me, maybe cause I never thought anyone would ask.

Why would he ask about another guy’s feelings to me, is it out of curiosity?
Post Opinion