My 1 yr old prefer her grandma?

I don no how to feel but this bothers me

I’m a flight attendant so most of the week or rather every 2 days I’m out of the country

My mom lives with us so she takes care of my baby

I had 2 weeks leav and my baby jus didn’t wanna come to me , she would play with me

But to sleep only wanted my mom

She even has started wacking mr and biting me

As a mom I don no wat to do to get closer to my baby

I try to put her to sleep but she cries for my mom

I feel so detached