Pakistan said its security forces killed at least 29 militants in ground and air operations along the Afghanistan border, on Monday, while the Afghan Taliban said at least 38 civilians were killed in airstrikes, and at least 160 injured.
Sunday's overnight aerial assault was Pakistan's second on targets in Afghanistan it said belonged to militants, and threatened to exacerbate an intermittent conflict between the former allies, who fought their worst battle in years in February.
Afghanistan condemned the strikes as a "cowardly act of aggression" and an "act of brutality."
Hamdullah Fitrat, the deputy spokesman for Afghanistan's Taliban government, said the Pakistani forces targeted a home in Chamkani district, in Paktia province, killing an elderly man and a child, while other family members were injured. When residents gathered to rescue people, the area was struck again, killing 28 villagers and wounding 158, he said.
Six people, mostly women and children, were killed in a village in Giyan district, Paktika province, when another home was struck, he said. A civilian home in Kunar province was also hit, causing no casualties but killing some 30 livestock.
Pakistan's airstrikes on three targets in the Afghan provinces of Paktia, Paktika and Kunar killed 25 militants while destroying "large quantities" of weapons and ammunition, Information Minister Attaullah Tarar said on X on Monday.
Four more fighters linked to the Jamaat-ul-Ahrar faction of Pakistan's Taliban were killed in ground attacks in the Bajaur district of its northern border province of Khyber Pakhtunkhwa.
However, Afghanistan's government spokesperson, Hamdullah Fitrat, said the strikes killed 38 civilians and injured 163, including women and children.
The bulk of the casualties stemmed from Pakistani jets bombing a home in Paktia province, killing 28 and injuring 158, he added.
Residents were rushing to help the wounded when there was a second strike, said Khalid Ahmad Sajad, deputy head of the district of Samkani, hit in the airstrikes.
"While they were carrying out rescue efforts, Pakistani military forces launched a second airstrike on the same location," he told a press conference.
Tarar said Pakistan was responding to "recent multiple terrorist incidents", including Saturday's Jamaat-ul-Ahrar bomb and gun attack on a Sindh Rangers facility in the southern city of Karachi that killed three and injured four of its troops.
"Security forces precisely struck terrorist camps and safe havens," he said in a message on X.
Islamabad accuses Kabul of harbouring militants it blames for plotting attacks in Pakistan. The Afghan Taliban denies the accusations, saying militancy is Pakistan's internal problem.