In a contested divorce, child custody is decided by the court, taking into account the best interests of the child, including stability, parental roles, and living conditions.
The court evaluates factors like the child’s relationship with each parent, living arrangements, and the ability of each parent to meet the child’s needs before issuing a custody decision.