The judge awarded custody because previous rulings to enforce visitation rights were unsuccessful. Miller has refused to obey any judge’s order for visitation, despite fines. Custody was the only tool left short of putting the woman in prison (which is coming), and the ruling was not expected to substantially change the amount of time either woman spent with the child.
So molestation plays no factor in custody? The judge should never have even heard the appeal.