I've had something similar.
"Lead" guitarist was a lovely chap. Oodles of tasteful noodles, made the "Rhythm" player (& Songwriter) look a bit "Meh" at times, but it was never deliberate or malicious.
"Rhythm's" innate jealousy eventually gets the better of him, and he fires "Lead".
I wasn't consulted. Vocals was probably complicit, Drummer, though super, was a lap-dog.
I felt it was unwarranted and unfair and quit as soon as I was told.
Shame. The band had potential, but ultimately completely unraveled due to the personalities involved.