Home Secretary Sajid Javid is facing criticism after the baby son of Shamima Begum died in a Syrian camp.
Ms Begum fled London to join the Islamic State group aged 15. Mr Javid revoked her British citizenship when the pregnant teenager asked to return.
A family friend said the UK had failed to safeguard the child while Labour said his death was the result of a “callous and inhumane” decision.
A UK government spokesman said the death of any child was “tragic”.
The spokesman said the government had consistently advised against travelling to Syria and would “continue to do whatever we can to prevent people from being drawn into terrorism and travelling to dangerous conflict zones”.
Ms Begum, who left the UK in 2015 with two school friends, was found by a journalist in a Syrian refugee camp in mid-February.
She said she had been living with her husband, a Dutch IS fighter, in IS’s last stronghold, Baghuz and had previously lost two children, blaming the inhospitable conditions.
Speaking shortly after the birth of her newborn son, Jarrah, she told the BBC, she simply wished to raise her child quietly in the UK.
Jarrah died of pneumonia on Thursday, according to a medical certificate. He was less than three weeks old.
Dal Babu, a former Metropolitan Police chief superintendent and friend of Ms Begum’s family, told BBC Newsnight: “We’ve failed, as a country, to safeguard the child.”
After Ms Begum was stripped of her citizenship, her family wrote to the home secretary to say they planned to challenge the decision and asked for assistance to bring her baby to the UK.
As her child was born before she was deprived of UK citizenship by the Home Office, the baby would still be considered British.
“This was an entirely avoidable death of a British citizen,” said Mr Babu.
“There was no attempt to help by the Home Office. I think it’s shocking how the home secretary has treated this situation.”
Shadow home secretary Diane Abbott also criticised the actions of the Home Office. She tweeted: “It is against international law to make someone stateless, and now an innocent child has died as a result of a British woman being stripped of her citizenship. This is callous and inhumane.”
Speaking to the BBC on Friday, before it was confirmed that the baby had died, Mr Javid said: “Sadly there are probably many children, obviously perfectly innocent, who have been born in this war zone.
“I have nothing but sympathy for the children that have been dragged into this.
“This is a reminder of why it is so, so dangerous for anyone to be in this war zone.”
BBC home affairs correspondent Daniel Sandford said it might have been possible for the government to get the baby out of Syria, although that could have been “politically difficult”.
“The government’s position that it’s impossible to go and get people out of these camps because it’s too dangerous is repeatedly shown to be not entirely accurate, because journalists are able to get to these camps relatively safely.
“Working with the Red Crescent there for example, it should be possible to go and get people from the camps – if there was a political will.”
Kirsty McNeill, head of policy, advocacy and campaigns at the charity Save the Children, said “all children associated with IS are victims of the conflict and must be treated as such”.
“It is possible the death of this baby boy and others could have been avoided. The UK and other countries of origin must take responsibility for their citizens inside north-east Syria,” she added.
In an interview with the BBC after the birth of Jarrah, Ms Begum said she did not regret travelling to Syria – although she added that she did not agree with everything the IS group had done.
She added that she had never sought to be an IS “poster girl”.
“I just want forgiveness really, from the UK,” she told the BBC’s Middle East correspondent Quentin Sommerville last month.
“Everything I’ve been through, I didn’t expect I would go through that.
“Losing my children the way I lost them, I don’t want to lose this baby as well and this is really not a place to raise children, this camp.”