Investigate any such terrorist attack anywhere in the world, it converges to Pakistan. May be, the role is different each time. Directly or Indirectly, they are definitely involved. If something similar happens in their country, they cannot blame anyone but self because they are the root cause. If investigated by any external agency, they can't prove it is done by outsiders.