I get what you mean, but I don’t really blame Andy for the writers’ bias. When they make Maya do something unlikable to prop up Andy, I don’t like Maya less for it, it is what it is with this show (and perhaps Grey’s as well?). It’s just filled with whatever ups and downs that will cause the most drama.
Remember how after the big tower fire at the end of s1, I think, Travis almost died because he told Warren to help a civilian instead of him and Vic got like, bizarrely mad at him for it? Not Warren, but Travis, the guy who, again, ALMOST DIED. For. Almost. Dying. But she’s cool now, everyone on this show goes through periods of self-righteousness and selfishness and heroism. Pruitt was so horrible to Andy and now we’re mourning him like everyone else. Andy gets it the most, yes, but it’s all part of the same…mechanism.
And is Maya more senior than Andy? Unless I’m misremembering, didn’t Andy get lieutenant first? Or did you mean something else?