Its normal and natural and nothing you've done wrong. It is also not an out right rejection of you... kids go through phases. Of who they want all the time. We have 2.kids 3.5 and 1.5 and we trade off every night who gets to pick who puts them down. And for a while it was all dad all the time a d then I was missing the one that was always getting dad. Right now they both always demand mom... probably because I'm about to have our 3rd and they are anticipating losing out on mommy time. Calm is key it has nothing to do with you. Making sure you to show hurt feelings that she can take as rejection. And asking dad to help encourage her back to you will all help. We do the same bedtime routine and we say good night and give hugs and kisses and positive affirmation as the go with the parent they might not want and express upset. "Dads got you to night. He's so excited to get to put you to bed. I love you and I'll come give you kisses before i go to aleep"
I think it’s just a phase. Nothing can truly replace the comfort of mommy. Enjoy the little space you have now and try to be happy that your husband gets to have this precious time with her. My husband would give anything for our little girl to snuggle him instead of me 😂
So sorry you are going through this. What really helps is trying to stay calm when she does that. She knows that you are not going anywhere and wants to explore her dad. It will also change soon. I know its hard and the only thing i have seen working is moms just ignoring it. I have seen moms trying all the things told on internet but what works is staying very very quiet( from inside)