Why ask me about another guy? were just friends?

I was out with friends and a guy I know told
Me he wasn’t feeling well. So I didn’t think he was going to show. So I went about my night and I was hanging out with friends and a different guy I know is sweet so I held his arm walking and stuff like that. But then I saw my friend who wasn’t feeling well did show up. So I naturally go up to him and he eventually just right out says “what about that guy your with?” I said to him we are just friends…. He didn’t even text me to tell me was coming or that he was there. Why did he even inquire about the other guy? It was so out of the blue I was shocked kinda.
Why ask me about another guy? were just friends?
Post Opinion