Because the statement in the question says that the country must produce that product in which it is more efficient than anyone else (here comparison is with other countries), which is true for theory of absolute cost advantage. However, it doesn't say that the country must produce the product which it produces more efficiently than other product (comparison being among different products which it produces itself), which is true for comparative cost advantage theory.