Some broodies can be aggressive to the babies once they start to hatch and sometimes they just accidentally step on the egg, damaging it in the process.
I would recommend using antibiotic ointment without pain reliever on the membrane to keep it moist, coconut oil needs to be applied more...