It refers to protection of offspring (tending) and seeking out their social group for mutual defense (befriending).
This involves looking after young ones (care) and seeking out a group of peers for shared protection (buddying up).