Violinists press their strings against the fingerboard with considerable force, and the skin on the fingertips of the fretting hand is rubbed and pressed again and again. The body responds by thickening the outer layer of skin (the epidermis) and building tougher, denser keratin, which is the same protein found in fingernails. This protective buildup is a callus, and it forms within a few weeks of regular playing.
Calluses are a normal adaptation rather than damage, and they are why beginners often feel sore fingertips that gradually stop hurting. Once the calluses are established, the skin is better able to press strings without pain, though they can wear down or soften during long breaks from practice.