Officials are working to limit environmental damage and anticipate a prolonged investigation into the cause of the tragedy.