The first and foremost principle is one of fate which no one can control.
Second there must be some genetic defect which has not been diagnosed at birth
Third diagnosis is the ultimate for any treatment which is not done well.
When you have the third child male sure that all tests are done prior to delivery
and after birth itself.
I think that some genetic problem exists which was not diagnosed Consider yourself lucky that the baby passed away early rather than grow
up undiagnosed and face problems after they grow up. Next child don't take chances just get all tests done.
I know it's tough but that's the way of life.