I feel like a failure

Tara • Have two beautiful children
I have a 15 month old daughter and I am 9 weeks pregnant. I feel like since finding out I was pregnant, my daughter has begun to hate me. She has started thrashing and kicking during diaper changes, she hits and kicks me in the face and stomach, I tell her no and she just screams and cries. She has begun to put her toys in the fireplace after I told her no a million times. At nighttime she used to fall asleep so well, now it is such a fight. She won't give me kisses anymore and hates being around me I feel like. When we are out in public she is fine and not like this but when home alone she is driving me absolutely crazy. She won't sleep in her crib either. I'm at my wits end. I love this baby to death and would NEVER hit her or hurt her but I just cry sometimes because I don't know what to do. What am I doing wrong??