That same behavior will also appear even when her mother is near, if there's any cause for fear or alarm-such as the approach of a stranger.
This dependency stems from our infantile helplessness: no human infant would long survive if it could escape from parental care.