Hi there. It could be one of those connectors in your machine that came loose.
I had the same problem with my 2012 MacBook Pro. There was a ribbon cable dedicated for the keyboard backlighting. During one of the repairs I somehow made the connector not properly connected. Then I found the keyboard was not evenly lit, just like the situation in your photo.
The backlighting went back to normal for a short period of time, when I travelled. I guess the connector got reseated during the shaky transportation in my backpack.
I did not manage to fix it because the ribbon cable snapped when I tried to disconnect and reconnect the connector. I lost all keyboard backlighting after that. With an aging machine like this the cable had became very fragile. But it did, to some extend, validated my guess.
Perhaps this will provide a general direction for you to investigate. In terms of keyboard backlighting, I can't say the 2020 M1 model still uses the same design though.