The primary cause of congenital cataracts is often genetic mutations or abnormalities that affect the development of the eye lens during fetal growth. Additionally, factors such as maternal infections, metabolic disorders, or certain medications taken during pregnancy can contribute to the development of congenital cataracts in some cases.