This is because when a person has no antigen on RBC as in O blood group both AB antibodies are present in the plasma so when AB group blood is receives by the person it get agglutination and AB blood group has both antigen A and Antigen B are present so they lack antibodies on plasma as well as blood group O has both antibody present so it will prevent the reaction.