The lessons learned from these incidents will inform future rocket launches.