The RGB lighting working indicates power is going to the mouse, the red optical light not working indicates there may be a problem with the mouse.
Disconnect the mouse from your system, then press and hold both the left and right mouse buttons together for a few seconds to try to reset the mouse.
If that does not resolve the problem, connect your mouse to another PC to test if the mouse is working on that PC.