EDS is caused by mutations in genes responsible for the production and processing of collagen, a vital protein that provides strength and elasticity to connective tissues. These genetic mutations are typically inherited and can be passed from parents to children.