I used to be similar, thankfully not so bad now. idk if you're similar but for me if someone I had nothing in common with was better at something I didn't care, but if someone was better at something who I saw to be a similar sort of person or who I got on well with, then that was often a trigger for the jealousy