Have you ever had this feeling of jealousy where you all out and one of your buddy pull a girl home?

I don't know why I feel jealous but not happy for him. It could be because he is not very close frinend of mine. If it happened to you what was your explanation?