Police say the attack stemmed from a custody dispute