Why do American presidents permit this situation to go on? Partly because they buy into the fiction that they must support Pakistan, lest its nuclear weapons fall into the hands of Islamic fundamentalist terrorists. In other words, Pakistan is using its nuclear weapons to blackmail the United States and the United States has gladly fallen for it.
Afghanistan is landlocked. We resupply at the mercy of Pakistan and Russia. Dubya didn't know what he was doing.