Eli5: why is the skin under fingernails and toenails sensitive?

I understand why bruises & scabs are sensitive- it’s a nerve reflex to protect wounds. And I understand why eyes & genitals are sensitive- it’s protects fragile parts of the body.

But why fingernails/ toenails? They’re neither wounded not fragile.