Nearly all cases of Rett syndrome are caused by a mutation of a certain gene. As a result of the mutation, not enough protein is made by the body, or it is made incorrectly. This can cause other genes to function abnormally.