Their goal is supposed to be reunification. Generally, if reunification is not an option, the co-parent is offered custody or failing that, it is given to a person mom wishes. Failing all of those, CS decides or the children go to foster parents.