Our evolution of nails, as opposed to the much more common claw, is another part of the symphony of touch. It provides a hard backstop to assist with touch sensitivity.
Imagine if the tip of your finger could just bend back. It would be way harder to know what you’re touching!