Although it’s possible the LEDs in your keyboard could be damaged, it’s likely caused by your settings. As well as following Apple’s official guidance on adjusting your keyboard backlighting, try resetting your Mac’s SMC and removing relevant .plist files.