The baby would learn through when a mother feeds them. If the baby cries, and receives comfort, they would be positively reinforced to continue crying to get comforted. It can also be applied to the mother, in which, the mother may be negatively reinforced to comfort the baby if the baby keeps crying to comfort the mother.