Hormones or...?

I think my dog hates me...😥 Dezzie is my puppy's name. She loves my mom and two year old brother. I take her over to visit almost weekly. I haven't taken her in just two weeks and she got very depressed. She stopped using the bathroom regularly and started losing weight. She hardly paid any attention to me. My mom came to visit; just to check on her. Dezzie pottied immediately and then jumped in my mom's car and refused to get out. My mom then decided she's going to keep her for a few days. I'm really sad. I feel like maybe I failed my dog or maybe she should stay with my mom. My mom keeps suggesting she keeps her after I give birth. I don't know what to do.