In custody disputes, courts prioritize the best interests of the child. Factors that influence the court’s decision include the child’s relationship with each parent, the parents’ ability to provide a stable environment, the child’s age, health, and educational needs, and any history of domestic violence or substance abuse. Physical placement refers to where the child lives, and joint or sole custody can be awarded depending on the circumstances. Courts often aim for arrangements that allow both parents to remain involved in the child’s life unless one parent is deemed unfit.