Family help

Prater

Hello ladies, I'm just needing some advice and maybe some insight if anyone had experienced anything similar.

Me and my husband have been married for almost a year now. My daughter (who is 5) really liked him in the beginning of our marriage and had even decided to call him daddy (her father is active in her life and we have 50/50). Well one day her real dad heard her call my husband dad and told my daughter that she doesn't need to call him dad and it's not right. Well ever since that day it has gone down hill and now she HATE my husband. She constantly tells me what he does, constantly thinks he is being mean, and now she will even dramatize stories to try and make me mad at him. He will try to ask her how her day was, and she will just walk away and not listen, and when I ask why she is doing that she says that her dad said she doesn't have to listen to him and to walk away...I just don't know what to do at this point, she is currently at her dad's house and doesn't want to come back to my house because she doesn't like my husband. Is this a phase? Will it pass? I don't want to have to choose between my husband and youngest daughter father,and my oldest. And I don't want this to ruin my relationship with my oldest daughter and make her feel like I'm picking him over her. What do I do?