US Secretary of State Mike Pompeo has condemned "the two horrific attacks in Afghanistan".
In a statement, he called on the Afghan government and the Taliban to work together to punish those responsible for killing dozens of people at a hospital and a funeral.
During the first attack on Tuesday, gunmen dressed in police uniforms stormed a maternity ward of a Kabul hospital, while in the second, a suicide bomber targetted a funeral service.
"Any attack on innocents is unforgiveable, but to attack infants and women in labour... is an act of sheer evil," Pompeo said.
"Terrorists who attack mourners lining up for prayer at a funeral are only seeking to tear apart the bonds that hold families and communities together, but they will never succeed."
The Taliban, which has denied responsibility for the attack, had signed a peace deal with the US in February, marking the end to an 18-year war.


Peace deal hopes fade after Trump rejects 'garbage' Iran proposal
Brazilian flotilla activist returns home, alleges torture during Israel detention
India's Modi to begin five-nation tour, including UAE
UK's Starmer facing crunch meeting as calls grow for him to quit
Malaysia searches for 14 missing after migrant boat capsizes
Trump says Iran ceasefire 'on life support' after he rejects Tehran's response
Hospitals evacuated, MSF services halted as rival gangs clash in Haiti's capital
EU ministers agree on sanctions targeting violent West Bank settlers
