What causes horizontal ridges in fingernails? Mineral deficiency?

Protein deficiency. Malnutrition with low protein intake or chronic illnesses that cause consumption of body reserves lead to poor nail quality with horizontal ridges marking when it occurred chronologically.