ABC News May 16, 2019

2-year-old dies after family apprehended at southern border

WATCH: New poll reveals Americans' views on president's border, immigration policies

A 2-year-old boy from Guatemala, apprehended with his family at the southern border, died in Texas on Tuesday after being released from U.S. custody at a hospital near the border, a Guatemalan official confirmed to ABC News.

The death comes as authorities continue to raise warnings about the dangerous conditions faced by thousands of migrants traveling to the U.S. through Mexico.

“It’s a very dangerous way to come and that’s what we try to communicate with the public,” said Rosario Ovando, a Guatemalan consulate official. “You’re putting your children in danger.”

Last year Border Patrol recorded 283 migrant deaths along the southern border.

Jose Luis Gonzalez/Reuters
U.S. Border Patrol agents are seen during a tour of U.S. Customs and Border Protection (CBP) temporary holding facilities in El Paso, Texas, May 2, 2019.
(MORE: 10-month-old baby found dead after migrants' raft capsizes on Rio Grande )

The boy and his family were arrested by U.S. authorities after crossing the border in El Paso, Texas, several weeks ago, according to a Customs and Border Protection official.

After three days in CBP custody, the boy’s mother told border agents he was sick and the family was taken to the hospital outside El Paso where he was diagnosed with pneumonia.

(MORE: More than 260 migrants died trying to cross the US southern border: Report)

The family later moved to another hospital where U.S. border patrol released them from custody and provided them an order to appear in court.

Jose Luis Gonzalez/Reuters
U.S. Border Patrol agents are seen during a tour of U.S. Customs and Border Protection (CBP) temporary holding facilities in El Paso, Texas, May 2, 2019.

The Washington Post was first to report news of the boy’s death.

The Guatemalan government is assisting the boy’s mother while she decides whether to continue the U.S. immigration process, Ovando told ABC News.

“We’re very concerned about the psychological effects of all this,” she said.

(MORE: On tribal land along US-Mexico border, drug and human smuggling corrupts an ancient culture )

Most deaths last year occurred away from urban centers like El Paso and San Diego. CBP officials say human smuggling operations target rural areas to evade authorities. Nearly 100 migrants died in the Rio Grande Valley near McAllen, Texas, last year.