This best illustrates Stranger anxiety
Stranger anxiety refers to psychological distress that children experience if they're being near someone that they're not used to/acknowledge.
Symtoms that exist within stranger anxiety includes crying really loudly while making a movement to stay away from the stranger, or become extremely quiet without making a movement at the present of the stranger.