Does anybody know what this is and why it started smoking???

2 prong ballast resistor. They can start smoking for as stupid a reason as I did. Replace it and if the new one starts smoking you have a bad coil...