https://en.wikipedia.org/wiki/NATO_logistics_in_the_Afghan_W...
The situation was unstable, as much of northeast Pakistan is only loosely under government control and there are quite a lot of anti-US militants there: https://www.rferl.org/a/NATO_Supply_Route_Imperiled_As_Pakis...
The intermittent engagement between US troops and cross-border Taliban resulted in the US bombing a Pakistani Army post: https://en.wikipedia.org/wiki/2011_NATO_attack_in_Pakistan
Not unreasonably, this upset the Pakistani Army: https://www.pri.org/stories/2011-12-02/pakistan-truckers-app... "The head of Pakistan's army Friday gave the go-ahead for his soldiers to return fire on US troops, if attacked"
The US backed down rather rapidly when it realized that going to war with Pakistan would result in the total stranding of their forces in Afghanistan. It has never been entirely clear whether some of the loosely controlled Pakistani intelligence services are supporting the Taliban or not: https://en.wikipedia.org/wiki/Inter-Services_Intelligence_ac...
Unlike the mid-aughts, the US is very nearly a net exporter of oil and oil products: https://www.eia.gov/dnav/pet/hist/LeafHandler.ashx?n=pet&s=m...
That's the main argument for being "energy independent."
I would guess that for a pirate in East Africa some items would be more valuable than others. Is oil more valuable than say iPhones to them?
Nice one. Never thought about this.