No one immediately claimed responsibility for the attack but the Islamic State group operates across the border in Afghanistan.