How does the energy released in a nuclear reaction get created?

A. By an endothermic reaction occurring
B. By the mass of the nucleus getting smaller
C. By bonds being created between two atoms
D. By water turning into hydrogen and oxygen