Thank you for your query,
The nipples are densely innervated with sensory nerves so that these are very sensitive to touch and painful stimuli and happens both in boys and girls and before and after puberty
The type of perception of nipples will be like a mixture of touch, pain and tingling
so the children will get a sudden yelp of pain and they try to avoid the the stimuli.
Hope i have answered your query.