Over the past 15 years, Pakistan and Afghanistan have frequently accused one another of sheltering hostile Taliban factions responsible for deadly insurgencies and frequent terrorist attacks in the two neighboring countries.