My baby girl prefers my boyfriend over me and I feel terrible

When I had my daughter I only got to take 6 weeks off before I had to go back to work. Her dad/my boyfriend watched her while I worked full/over time. There relationship bond grew strong as he watched her throughout the day and I only watched and dealt with her at night. Since I haven’t been no longer employed from the pandemic I’ve been able to be home and spend time with her. But I’ve noticed she doesn’t like me holding her, I can’t calm her down anymore like I used to, I can’t get her to laugh and giggle like her dad can, I can’t get her to eat solids even but her dad can. It’s really depressing and heartbreaking for me. Her first 6 weeks , it seemed like I was all she needed, and now I’m just a stranger to her. She cries so much when I try and hold her, she acts like I’m trying to kill her. She is so happy when she is with him, they are two peas in a pod. Her tickles her, throws her in the air, he’s all fun and games for her. I feel like in a way I don’t know how to interact with her because I haven’t spent as much time with her or created that strong bond. I know this might seem silly because I’m her mother and will always be her mother and will have that bond with her. But I feel like I’m missing that bond because I had to work so much.