2/3 of the desert temples I've encountered so far have had their loot rooms missing, and it seems as though the TNT was detonated by itself. It is not a bug in world generation because both caves are nearly identical and there was a ton of dropped blocks laying around when I went into the cave.
Dupe of MC-60349