The emergency landing was caused by a problem with the air conditioning and pressurization systems, which led to smoke in the cabin shortly after takeoff.