Because pitting is caused by defective layering of the superficial nail plate by the proximal nail matrix, any localized dermatitis ( e . g ., atopic dermatitis or chemical dermatitis ) that disrupts orderly growth in that area also can cause pitting.