Feel like my daughter doesn’t like me

She has moments where she cries up a storm and I try everything to sooth her, but it doesn’t work. As soon as her father holds her, she stops. It’s honestly heartbreaking... what am I doing wrong.