Original: In general, new alphabetic codes are assigned if a country changes a significant part of its name, while a new numeric code is assigned if a country changes its territorial boundaries.
Simplified: A country generally gets new alphabetical codes if its name changes, whereas a new numeric code is associated with a change of boundaries.