Anyone know what this wire is that I smoked?

I highly doubt that enough current would flow through that wire to cook it , if it were just dangling against the painted firewall. I am reasonably certain that there is more to this story, than what I am seeing. Good hunting.
Ive been wrong before. But Im pretty sure about this.