Well certainly it could be due to all the reasons previously discussed. Stress, hormonal, poor sperm viability of younger males etc. Eggs that don't hatch by definition are slugs. I don't think it's similar to a miscarraige first bc you can't truly compare the human physiology to reptiles. The definition of miscarraige is the spontaneous termination of pregnancy before the 20th week and is associated with abnormal hemmorage. There is a phenomenon known as parthenogenesis where eggs are laid by a female without the breeding and or sperm of a male. It happens in ball pythons but is very rare. In the cases of parthenogenesis, there is usually a viable baby inside the egg. Then again female snakes have the ability to store sperm for up to years after a breeding and in those cases there will be fertile eggs and or hatchlings produced.