This is the common rooting reflex.
The rooting reflex happens in normal newborn babies automatically turning their mouth toward the finger, as mentioned above, or other touch stimulus in the cheeks or lips, making sucking motions. This is an important reflex that helps successful breastfeeding as they look for breasts to suckle.