Most happen by chance and are usually due to one-time problems with the genes that prevent the fetus from developing normally. Miscarriage is not caused by bending, stretching, carrying heavy weights, having sex, working long hours or having an emotional upset.