The other answers were good guesses but none of them cause the median (middle of nail) changes. Traumatic dystrophy from nervous picking is actually quite common. Other traumas to the nail bed can cause the nail to grow abnormally. If the nail matrix is damaged, the nail will not grow out normally.
Thanks for the great and astute guesses.