I can't tell much about what causes an egg to quit but it does look like these made it far/almost to hatch day. I think humidity and ventilation are the only thing that is in your control that could cause them to quit late. The other things that cause them to quit this late would be parent stock nutrition and genetics.
Both of these have really good info in them:
https://anrcatalog.ucanr.edu/pdf/8127.pdf
http://extension.msstate.edu/content/trouble-shooting-failures-egg-incubation
Both of these have really good info in them:
https://anrcatalog.ucanr.edu/pdf/8127.pdf
http://extension.msstate.edu/content/trouble-shooting-failures-egg-incubation