Why do I get jealous? HELP

Even if the guy I'm talking to isn't my type or that I'm not romantically attached or whatever to him, I get jealous or insecure when he talks to other girls. Some of my friends told me I'm definitely just insecure and it's because of my dad and that I have daddy issues... I grew up without a dad and have no clue how men are supposed to treat me :/ nobody really guide me so I feel like I'm doing shit wrong.