1). Arabs can't do anything to Pakistan, even if they wanted to, because they need Pakistan more than we need them. USA abandoned them to the sh!t their in right now in the ME with Iran gaining influence. India will not be able to fill in the void left by USA nor will india be able to replace the military protection Pakistan provides to all GCC countries (including UAE).
2). ISIS does not have a foothold in Afghanistan, they are yet to wrestle for control of territories from the Taliban, their main rivals.