> You are implicitly saying the "A team" wasn't chosen on merit.
I think it's more complicated than that. Ultimately human relationships play into human decisions. I've often seen extremely competent engineers be pushed out of companies because they had personal disagreements with their leadership. There's plenty of senior engineers at my company who I don't think are very technically competent, but they navigate the politics of the org with aplomb.
Maybe I'm bikeshedding what "merit" is here, but in short I think it's perfectly reasonable that there be other factors for why the "A" team is popular beyond their technical acumen.