American Airlines created the first major airline loyalty program in 1981 as a way to compete for customers post-deregulation.