Code 128 is flexible
Code 128 can represent letters, digits and common symbols, making it useful for internal inventory, shipping references and identifiers.
EAN-13 has a strict numeric structure
EAN-13 contains 13 digits and the final digit is a checksum. Generating the barcode image does not assign an official retail product number.