It’s actually extremely rude and I am never able to understand why white people think that this sort of behavior is ok. They treat us as if we are animals in a petting zoo. The next time a white person asks to touch your hair, say “Only if I can touch yours first”.