The answer to 'recessed lighting gets hot' is that recessed lighting can get hot due to several common causes, including improper installation, outdated or inefficient bulbs, and inadequate ventilation. Symptoms may include the light fixture feeling very hot to the touch, dimming or flickering lights, and even the potential for fire hazards.
Some solutions include ensuring proper ventilation around the fixture, using LED bulbs designed for recessed lighting, and having a professional electrician inspect the wiring and installation. It's generally best to call a professional electrician to diagnose and resolve issues with recessed lighting, as improper handling can be dangerous.