Grayed out object in the Scene Collection
Click this little Funnel icon in your browser to open the Filter setting,


see if this Icon is on or off. You probably set the light to be Invisible in the viewport, i.e. the Monitor Symbol, and then reset the filters to just show the icons for visibility, i.e. the Eye.