One year after miscarriage finally conceived and ended in a chemical

Sarah β€’ Tx. Mom to Emma Faith 2 years old! Married 7/13/13. Our rainbow baby Owen Blake will be joining us by June 20thπŸ’™
Can someone please tell me how/why chemical pregnancy's happen πŸ˜₯Β