The president of El Salvador said his country was to blame for the deaths of a Salvadoran man and his daughter who drowned last week while trying to cross the Rio Grande into the United States, The New York Times reports.

“People don’t flee their homes because they want to,” President Nayib Bukele said Sunday during a news conference. “They flee their homes because they feel they have to."

“We can blame any other country, but what about our blame? What country did they flee? Did they flee the United States?” Bukele said. “They fled El Salvador.” ADVERTISEMENT

He added: “It is our fault … Why? Because they don’t have a job, because they are being threatened by gangs, because they don’t have basic things like water, education, health.”

Bukele’s comments come after a viral photo showed Óscar Alberto Martínez Ramírez and his 23-month-old daughter, Valeria, lying facedown in the Rio Grande. Ramírez had reportedly tried to swim across the river with his wife and daughter after his family was unable to request asylum in the United States.

The photo sparked widespread criticism of the Trump administration's immigration policies.

Senate Minority Leader Charles Schumer Chuck SchumerPelosi slams Trump executive order on pre-existing conditions: It 'isn't worth the paper it's signed on' 3 reasons why Biden is misreading the politics of court packing Cruz blocks amended resolution honoring Ginsburg over language about her dying wish MORE (D-N.Y.) called on President Trump Donald John TrumpSteele Dossier sub-source was subject of FBI counterintelligence probe Pelosi slams Trump executive order on pre-existing conditions: It 'isn't worth the paper it's signed on' Trump 'no longer angry' at Romney because of Supreme Court stance MORE to “look at this photo” and see that these “are people simply fleeing a horrible situation in their home country for a better life."

Rep. Adam Schiff Adam Bennett SchiffSchiff claims DHS is blocking whistleblower's access to records before testimony GOP lawmakers distance themselves from Trump comments on transfer of power Rubio on peaceful transfer of power: 'We will have a legitimate & fair election' MORE (D-Calif.) was among those who have blamed Trump for the deaths, saying the situation is a “product” of the president's immigration policy.

Trump, who said he hated to see the photo, placed blame on congressional Democrats. On Saturday, he said if his border wall had been built, father and his daughter, as well as so many others, “would be saved.”

The bodies of Ramírez and his daughter were returned to El Salvador on Sunday. They were buried in a private ceremony on Monday, the Times reported.