 Miscarriage may be detected during an ultrasound exam, or through serial human chorionic gonadotropin (HCG) testing.Miscarriage may occur for many reasons, not all of which can be identified.Risk factors are those things that increase the likelihood of having a miscarriage but don't necessarily cause a miscarriage.