It is extremely rare for a transformer to go bad. Did something fall on its windings and possible start to smoke?
The wiring looks like it might have some damage (the white wire particularly) - is the insulation worn through at all?
If the LED bulb was completely defective and acting as a large load it might have burned off some insulation.