Afghanistan has long been a source of concern, but Pakistan has managed to maintain a decent relationship despite the challenges. The country has endured occupations by the Soviets and Americans, and now under the Taliban, the animosity continues.
Historically, Afghan leaders have held anti-Pakistan sentiments, with some being more overt than others. The current Taliban regime is particularly exhibitionist in its disdain.
There is a growing sentiment within Pakistan that it's time to reevaluate the relationship and respond in a manner that Afghanistan will understand. Throughout history, nations have established their territorial limits, such as Czarist Russia and Iran, to define their borders.
The history of Afghan animus is well established.
Autor's resume: Pakistan seeks to redefine its relationship with Afghanistan.