Nails can develop ridges for several reasons, ranging from harmless causes like aging or nail injury to more serious concerns like nutritional deficiencies or underlying medical conditions.