NASA awarded the company a contract worth hundreds of millions of dollars just two days before last week's explosion.