Sounds like electrical current was applied, in amperage sufficient to melt the wires. A DEFINITATE NO-NO for the micro-electronic trigger circuit.
The only other thing that can melt wires is heat; that much heat in the timing chest would be disastrous to the engine.
Either way, you've got "issues".