The question is why he wouldn't cross the land border and then fly from there. Customs is rarely checking passports as thoroughly on the way out as on the way in. The thinking was probably the risk was the same since he was entering the airport anyway, but failed to account for risk of having passport checked in then out instead of just out.