Others will have better answers, but if you just think about it, exploding a nuclear device emits a lot more energy than it took to release it. It’s a conversion, you’re not violating anything.
Obviously causing a nuclear explosion is not a very good way to generate energy. :)
Obviously causing a nuclear explosion is not a very good way to generate energy. :)