A person with AB blood group cannot donate blood to a person with B blood group because:
patient has antibodies b
A person with blood group AB has A and B antigens. A person with B blood group produces anti-A antibodies which will act against the A antigens of AB blood group and cause agglutination, which can be fatal for the recipient.