I don't know how the US process works, but long ago when I worked in a foreign country, I was required to leave the country and get my work visa added to my passport upon reentry. Reading that article made me consider that she might have been in a similar situation, only she was incarcerated for two weeks in subhuman conditions due to (at most) a clerical error.
It's really a risk for people who are not US citizens to cross our borders right now.
Since all your ICE holding facilites are privately run, the incentive is to get people into incarceration as soon as possible and to keep them there as long as possible. Before Trump came back, the gloves were on and the capitalists running those prisons only made bank on the darker shades of people, but with Trump back it's time to make money with all the skin colours!