Blood group inheritance follows Mendelian genetics.
A child with blood group O can only inherit O alleles from both parents.
Parents with AB and O blood groups cannot have an O-group child because the AB parent has A and B alleles, no O allele.
Therefore, O-group child cannot have parents with blood groups AB and O.