The answer to 'recessed lighting making buzzing noise' is that a buzzing sound from recessed lighting is typically caused by a problem with the transformer or driver that powers the LED lights. This can be due to a malfunctioning component, loose connections, or improper installation. The buzzing may also be caused by electrical interference from other devices on the same circuit.
If the buzzing is mild, it may be a normal operating sound and not necessarily a problem. However, if the buzzing is loud or disruptive, it's best to have an electrician inspect the lighting and make any necessary repairs. Attempting to fix the issue yourself could be dangerous if you're not experienced with electrical work.