Before the 1930’s, airports had two-letter codes. When codes switched to three letters, many added the letter ‘X’ to the end. LA (Los Angeles) became LAX.