No spark, ballast is getting really hot

If this is a 2 terminal ballast, probably bad coil.

If it's a 4 pin, could be either bad coil or bad ECU