Question: why are iata and icao codes different?
Answer: ICAO codes are used for "official" purposes such as Air Traffic Control; E.g. flight plans use ICAO codes for airports and airline flight identification. IATA (International Air Transport Association) is a trade association that focusses on making air traffic businesses safe, secure, reliable and efficient.