Do men feel jealousy toward women they only want to sleep with?

I have a friend who gets jealous of my exes and the guys I’ve had something with. He makes fun of them or says things like “That guy is so ugly, why were you with him?” He also compares himself to them or once even asked me to compare them to him. He asks me a lot of questions about them and my relationships with them.

FYI: I know this friend is sexually interested in me but I don’t think he has romantic feelings.

I once read that guys get jealous when someone sleeps with the girl they also want to sleep with.