Should I remarry my ex-husband for my daughter’s sake?

She’s torn between wanting to marry someone who cares for her and the thought of risking her daughter’s relationship with her father