The most common genetic cause of FAMMM syndrome is mutations in the CDKN2A gene, which plays a crucial role in regulating the cell cycle and preventing tumor formation. Mutations in this gene lead to uncontrolled cell growth and an increased likelihood of melanoma. Other genes, such as CDK4, have also been implicated in the syndrome, although they are less common.