Because US Homeland Security Dept imposes that all passengers boarding a flight in the US (connecting flights included) go through a security check on US soil. Having cleared security outside the US is not sufficient.