I see where you are confused. Here's the first law of thermodynamics...
∆U = Q - W
where W = P∆V
There are two forms of energy, heat (Q) and work (W). Also, energy cannot be created nor destroyed, only transferred from one system to another.
First, a bomb calorimeter is a sealed tiny...