I have this wild theory that scratching itches is effectively masking the itch with pain. But because scratching can lead to damaging the skin, particularly if there is a scab in the vicinity, it might be better to slap it instead. That would overcome the itch without damaging the skin.
Just an idea. Not one I always put into practice myself. Does it make any sense?