The exact etiology of CMN is not fully understood. They are believed to result from a disruption in the normal migration of melanocytes from the neural crest to the skin during fetal development. Genetic mutations, particularly in the NRAS and BRAF genes, have been implicated in some cases.