why does god allow miscarriage