Child custody is determined based on the best interests of the child.
Factors considered may include the child's relationship with each parent,
the parents' ability to provide a stable environment, the child's preferences
(if old enough), and any history of abuse or neglect.