I have a theory: the battery tray is isolated from the frame by the rubber mounting grommets. The only connection to ground is through the green rectifier wire and the main harness. If the battery + terminal, the heavy cable from it to the starter solenoid, or the smaller red wire on the same solenoid terminal were to come into contact with the battery tray, even for a couple of seconds, it would cause the damage you have.