any ideas as to why the ballest resistor would smoke?

as far as the starter goes i basically need to get a new solenois??