Sons fingernails falling off

My sons fingernails start with a little line in them midway through the nail and within a few days the whole top part falls off. The lower part continues to grow. I have no idea what causes this. He’s three yrs old and no trauma that I know of to the nails, other than that he puts his hands in his mouth a lot.