I destroyed an asteroid and all of the materials got destroyed with it, that's annoying
That’s not a bug, it’s a feature ;-) There’s a description about that on the game page, and how to prevent them from exploding.