Possessive daughter

My daughter is nearly 2 years old and I’ve got a 10 months old nephew, whenever her dad isn’t around she’s fine with him and perfectly happy to play with him but as soon as her dad comes around an my nephew even gives him a look or talk to him she fully goes into a mad mode.

Pushing, pinching and crying until we move my nephew away. My partner is trying so hard to teach her that she needs to share as well as I am. I don’t know what else to do. We’ve placed her in time out and she calms down but goes right back to stage one.

We were in talks of another child but we’ve decided until this stops happening to not bring another baby into the family

Has anyone dealt with this before?? I need some help lol