US handles overflights and transfers differently from practically every other country out there. For overflight, TSA gets lists of passengers in advance, and runs them against the no-fly list - if you're on that list, you won't be allowed to board, even if your plane never even lands in US.