Why don't you ask Him? If it's references you're looking for I'd recommend the book of Job. "The Problem of Pain" and "A Grief Observed" by C. S. Lewis also.
Why did God design a reproductive system that naturally aborts millions of embryos?