I'm terrified...

I thought moving out from my grandmas would be the best option for both my dog and I. When she gets mad she is verbally and emotionally abusive, and she doesn't like my dog. My parents got divorced so my mom and I moved in with my grandparents and its been six months. Long story short, living here is making my mental health issues worse when they were getting better. Next week I'm moving in with my boyfriend at his parents house until we can find a place to live. It hurts leaving my mom because I have such a strong relationship with her. I've talked to her about it to make sure I'm not hurting her, but I don't know who its hurting more, my mom or me 😔