I suspect the cause is socks or shoes pushing against the skin at the end of the toe, causing it to grow incorrectly over many months.
An untrimmed nail pushes any sock/shoe away, solving the issue.