Lebanon's problems are a very long civil war that makes any kind of economic activity impossible. It is a bit like Afghanistan, Somalia, Sudan, Haiti etc., Pakistan does not have that problem. Pakistan's internal disputes are still mostly civil.
Pakistan's example is similar to Argentina, Brazil etc., that went through multiple defaults. Sri Lanka seemed worse, but they seem to have stabilized somewhat.
All different issues causing severe disruption. Can't compare political disputes to wars or natural disasters.