As Customs and Border Protection (CBP) announced that it would order medical checks for all minors in its custody following the deaths of at least two children in recent weeks, critics expressed alarm at the neglect that children have faced in immigrant detention centers thus far—and issued reminders that they shouldn't be detained, especially for long periods of time, in the first place.

The CBP's announcement came a day after the death of an eight-year-old boy, Felipe Gómez Alonzo, was announced on Christmas. Felipe had been held for a week after being apprehended with his father by the agency. The pair had been transferred a number of times as the Trump administration sought to deport them, and the boy grew increasingly ill during the detention, developing a 103 degree fever at one point, but his symptoms were diagnosed as the common cold.

The agency is now "considering options for surge medical assistance" to care for the tens of thousands of children who have been held in U.S. custody this year after crossing the border—but critics pointed out that the overarching concern is that children shouldn't be held by the Departments of Homeland Security (DHS) and Health and Human Services (HHS) for days, weeks, and months at a time.

Border patrol now saying they’ll perform mandatory secondary health checks on children under ten, but WHY ARE THEY JAILING CHILDREN UNDER TEN?! https://t.co/SDuXs4JPG3 — Scott Hechinger (@ScottHech) December 26, 2018

Another migrant child dies in US custody and the discuss goes to making jails and concentration camps more humane, not whether a family should be there in the first place, mercilessly prosecuted for a nonviolent misdemeanor. — Justin Miller (@justinjm1) December 26, 2018

"The Trump administration's policies of cruelty toward migrants and asylum-seekers at the border must cease immediately before any more children are harmed," said Margaret Huang, executive director of Amnesty International USA, in a statement.

Daily Beast editor Justin Miller suggested on Twitter that regardless of the specifics of where and why each child is being detained, a national debate over how to best treat children, adults, and families in U.S. detention is a sign that President Donald Trump's treatment of immigrants and asylum-seekers has spiraled out of control.

In the case of Felipe and his father, Miller wrote, "It was civil detention apparently pending a court date for removal. In other cases (non-families), it's straight to criminal prosecution. Either way, the debate is around improving detention, not whether to detain and en masse."