Islamic State claimed responsibility for the attack in the provincial capital Faizabad, the group's Telegram channel said on Wednesday.
Islamabad says Kabul is not doing enough to tackle terrorist groups targeting Pakistan and in March Pakistan carried out airstrikes targeting terrorists on Afghan territory.
The Taliban has suspended girls' education past the sixth grade and banned women from public spaces such as parks, gyms, and bathhouses.
Discussing the opinions on ongoing events and the frustration around recent events.
"We need to resolve pressing issues, this also requires dialog, so in this regard we communicate with them like practically everyone else - they are the de facto authority in Afghanistan."
The trade ties between the two neighboring countries have significantly worsened recently due to frequent border skirmishes.
Islamic State has claimed responsibility for the massacre and US officials say they have intelligence showing it was carried out by the network's Afghan branch, Islamic State Khorasan.
As terror attacks allegedly linked to Afghan continue to plague Pakistan, Islamabad is restarting its effort to send 1.7 million undocumented Afghan refugees back home.
Experts say that the move from Kabul to Iran’s Chabahar Port sends ripples of change across the economic currents of South Asia. Pakistan should streamline border procedures to reduce delays.
The statement by the spokesman for Afghanistan's caretaker government comes in the wake of elections in Pakistan and shared issues among the states, namely refugees and migration.