It's because you're irritating the inside of your flesh.
It would be much less painful (And more dangerous, of course.) To just let it scab over without irritating the exposed flesh with cleaning materials. (Water, soap, cloths etc.)
However, you need to clean it, as you don't want anything that could cause infection getting in there, do you.
