I have found, over 20 plus years as a Verizon employee in a variety of situations, that a boss who is jealous of you (for any reason) is a nightmare to work for.
Sometimes they envy you your life (as in family, friends, relationships, etc) but more often it is being jealous of your skills, abilities or work relationships.
The best bosses are secure in themselves, feel no need to "compete" with others, are confident in their own abilities and skills and therefore are not tempted to belittle or undermine effective employees.