ELI5: Why does dry skin itches if scratching it causes more damage?

Why did we evolve to develop an itch on areas with dry skin? I would think pain or some other form of alert other than itchy skin would be a better way to bring this up to the brains attention.