Ballast resistor question

Yep any type of resistor(far as I know) gets hot while being used.