I know the answer to this, but I'm not sure what I want to do about it.
I have a friend, part of a group, I don't claim any great connection with him but he's been good to me during a difficult time. One of the people who's really kept in touch and means it when he says "you know where I am". For example I've been at an event with a lot of people this morning. Lots knew I had a really difficult thing to do yesterday. Everyone was busy but he was the only person who made a point of asking how it went.
Anyway, he's something of a ladies man. He's single and so am I so we often end up paired off just by virtue of being the two "odd" ones, which is fine we always have a nice time. Very occasionally, after a few drinks, he gets a bit frisky with me by nothing has ever happened and he always takes no for an answer.
However, recently I have noticed that he's keen to be a good friend to me, except when certain other people are present. His (male) best friend for example. When he's there, friend will barely speak to me. No doubt he'd say it's becuase they're catching up, but it feels different to that.
Others are a very young (married) female colleague and an ex of his.
I'm not worried from a romantic perspective, he's not my type and I'd find it hard to be with someone who does openly enjoy female attention so much, but he has genuinely been a good friend to me.....except when certain other people are around, which isn't often.
After one of those occasions, I'm ready to distance myself from him, but then he'll really step up to be a great friend. Also the friendship group is really important to me.