So my ceiling light suddenly dimmed and didn’t turn bright again. I replaced the led light bulbs in there and now its alls good again.

Why do led lights not simply “burn out” or fail completely? Instead they fail by producing half (or less)the amount of light they used to. This seems like a very odd way to break. Can anyone explain why they break like this?