I’m heartbroken 😞

My husband told me last night he is losing all interest in me. We’ve been fighting off and on for weeks about his ex. I get jealous because she sends messages at 6 am, 10 pm, 11, etc. They all have to do with their daughter but it seems so inappropriate. He feels if it’s about their daughter she can text at anytime. Well last Night during one of our arguments he told me he is losing interest in me because of how I act. My heart hurts so much. We also have a baby girl by the way.