Afghanistan's floundering peace process appeared further in peril Tuesday, with security forces ordered to resume offensive operations after attacks targeted a maternity ward and mourners at a funeral.
At least 14 people were killed -- including newborns and nurses -- when gunmen stormed the maternity hospital in Kabul early in the morning, officials said. Shortly after, a suicide blast in the country's restive east left two dozen mourners dead.
No group immediately claimed responsibility for the hospital bloodshed, but the Islamic State group said it had carried out the attack on the funeral for a police commander in Nangarhar province, where dozens more were wounded.
President Ashraf Ghani blamed both the Taliban and Islamic State for the carnage.
"Today, we witnessed terrorist attacks by the Taliban and Daesh groups on a hospital in Kabul and a funeral in Nangarhar, as well as other attacks in the country," Ghani said in a televised address, using the Arabic abbreviation for IS.
He ordered Afghanistan's security forces to end their "active defence position" and "return to offensive postures, and resume their operations against the enemy."
The move comes months after Afghan forces pledged to only react defensively to Taliban attacks to show good faith ahead of eventual peace talks.
But the Taliban did not reciprocate, instead unleashing a wave of violence that began the moment the insurgents signed a deal with the United States.
- Mothers, newborns -
Tuesday's first attack saw gunmen storm the Barchi National Hospital as parents brought infants and children for appointments.
The three attackers were eventually killed in a lengthy clearance operation. Heavily armed security forces were seen carrying infants -- at least one wrapped in a blood-soaked blanket.
"The fatalities also include mothers and nurses," interior ministry spokesman Tareq Arian said.
Some 15 people were wounded and more than 100 -- including three foreign nationals -- were rescued, he said.
One of the wounded, Jamila, said she had taken a grandchild to the hospital for some vaccinations.
"We were outside the hospital. I wanted to go inside when they shot me and one of my grandchildren was killed," said Jamila, who only gave one name.
The hospital is in a neighbourhood that is home to Kabul's minority Shiite Hazara community -- a frequent target of hardline Sunni IS militants.
It is supported by the humanitarian organisation Doctors Without Borders (MSF), and a number of foreigners were working there.
"It beggars belief that such a heinous act could be committed when Afghanistan is being ravaged by the COVID-19 pandemic," UN Humanitarian Coordinator Toby Lanzer said.
About an hour after the attack, a suicide bomber killed at least 24 people at a police commander's commander's funeral in the eastern province of Nangarhar, provincial spokesman Ataullah Khogyani said.
The attacker detonated explosives in the middle of the ceremony.
Zabit Amir, a mourner at the funeral, which people reported was attended by thousands, said he was preparing to stand in line for the service "when I heard a big blast and then saw hundreds of people on the ground."
"I did not even know who was alive or dead there."
The Taliban denied involvement in either attack.
- Unravelling peace process? -
The latest killings raise fresh questions about the fate of a hoped-for peace process that is teetering just as Afghanistan grapples with a public health crisis.
The Taliban have largely refrained from launching major attacks on Afghan cities since February, when they signed a deal with the US meant to pave the way for peace talks with the Kabul government.
The accord will see all US and foreign forces quit Afghanistan over the next year. Thousands of US troops have already gone, with a drawdown to 8,600 expected within months.
US Secretary of State Mike Pompeo called the attacks "appalling" and noted the Taliban's denial of responsibility.
"The Taliban and the Afghan government should cooperate to bring the perpetrators to justice," Pompeo said in a statement.
Pentagon spokesman Lieutenant Colonel Thomas Campbell said that "consistent with the agreement, the US military will continue to conduct defensive strikes against the Taliban when they attack" Afghan partners.
Michael Rubin, a resident scholar at the American Enterprise Institute, likened the peace process to a comatose patient with "no one willing to pull the plug but everyone falling all over themselves with hope if they see an eye blink."
But, he added, Ghani has no other choices than to return to the battlefield.
Laurel Miller, director of the International Crisis Group's Asia program, said she still hoped a peace process can play out, but was concerned it might be "dying a death by a thousand cuts".
The violence comes just a day after four roadside bombs exploded in a northern district of Kabul, wounding four civilians including a child.
Those bombings were later claimed by IS.
In March, at least 25 people were killed by an IS gunman at a Sikh temple in the Afghan capital.