These are just IATA (International Air Transport Association) codes. They are used in aviation to identify and differentiate airports. That’s why a Amsterdam Schiphol Airport to Casablanca Mohamed V Airport flight would often be abbreviated as a AMS to CMN flight.