“THE PALMAR GRASP REFLEX of human babies is thought to be a vestige from ancestral primates, where offspring needed a firm grasp of their mothers’ fur as they were carried.”
https://evolution-outreach.springeropen.com/articles/10.1186/s12052-014-0012-5