As usual, lots of uninformed speculation in this thread. Lots of it is based on a couple of books that are somewhat suspect, to say the least.
I have looked at the Scorpion picutres more than a few times. Some of the pictures I looked at are unpublished, so I'll refrain from discussing them, as what I say I saw in them can't be argued effectively by me or anyone else, especially in a public forum.
I can make a couple of points, based on the public pictures, though.
1. No torpedo exploded inside Scorpions torpedon room. There wouldn't be enough left ot the forward part of the boat to tell what it was, had this happened.
2. No torpedo exploded on contact with Scorpions hull. Since Scorpions major hull components are together on the bottom, this is pretty much the same as #1.
(Note: I know what those warheads were made with, and I have a pretty good feel for what kind of explosion would result from a warhead detonation. Not 'Torpex', a WWII-era composition. Something somewhat more effective)
3. Being somewhat familiar with that class of boat, there are other hypotheses that fit the circumstances, if you know something about patrol procedures. Particularly those involved in heading back to port.
4. No one really knows for sure what happened on Scorpion. Anything, by anyone, (myself included), is nothing more than an informed, educated guess, at best. All anyone can do is rule out stuff that obviously did not happen, like a warhead detonation.
Speculative statements follow:
No torpedo warhead explosion on or in the hull, from anywhere/any country, sank Scorpion. This is pretty certain, given the relative complete hull that is on the bottom.
The telescoping of the engineering spaces into the ops compartment could have happened on impact with the bottom, which is my guess.
This impact/telescoping, assuming an open torpedo room watertight door, could have blown off the forward access hatch, and blown open the torpedo loading/escape hatch, and popped the masts up and/or out of the hull. This requires a flooding casualty so immediate and severe that watertight integrity could not be set within the boat. OTOH, of the TR WT door was closed, it is possible that an overpressure event in the TR could have caused the forward trunk damage visible in the photos.
Impact with the bottom detached the sail. Had this happened sooner, the sail would be more remote from the pressure hull.
There are a few things that could have caused all this to happen. But I stress, without going into detail, a knowledge of patrol procedures would lead an educated, informed person down a different path. I don't think it was an O2 generator explosion. The boat could probably survive this, and there would be more evidence if not.
Battery well fire. Again, the crew would have had time to react, as a battery fire/explosion severe enough to prevent the crew from reacting would have exhibited more discernable damage, IME.
Scorpion did not suffer a 'crush-depth' excursion with watertight integity complete. Again, there would be more evidence of the hull imploding. It could be argued that the telescoping of the engineering spaces into the ops compartment is exactly such evidence, however. Possible, but implausible.
A battery fire in a torpedo. Again, the crew would have had some time to react, and I have never seen any evidence pointing in this direction, other than pure specualtion. If it happened in a tube, then the solution (for the crew) would have been fairly obvious and effective. There is no evidence of this.
It would be nice if Ballard could have placed an ROV into the torpedo room, assuming that is even possible, and assuming he didn't. There might still be something to be learned from any pictures that might result.