The appeal to loyalty is a logical fallacy committed when the premise of an argument uses a perceived need for loyalty of some sort to distract from the issue being discussed.
[1] Problem: Even if B is disloyal, that doesn't mean that B is wrong, as A is not necessarily always right.