Hard to tell
Very sorry for your loss.
Miscarriages can be caused by many things, including genetic defects with the fetus, trauma, exposure to medications/chemicals/drugs, problems with the uterus
, or other events.
Many women have had these occur, and gone on to have healthy children
. Best of luck to you.
Answer assisted by Ken Starnes, Medical Student