Miscarrying/Still Birth

What causes people to miscarry/ have still births in 20-26 weeks of pregnancy?? and is this a common thing ?