What I don’t get is when Logan and Caroline divorced why did Logan want the kids

He’s not a good father and barely cares for his children so why did he fight so hard to keep them in the divorce