The same thing happened with Coco and I. She was extremely attactched to my mom even though Coco was MY dog, until she got attached my my mom

Recently though Coco has loved me and only me. My mom will come into my room while im on my laptop(usually YT) and Coco sits cured up to my side. She'l walk in and Coco will give her that "What the heck are you doing in here?" look