Former Obama officials already addressed those pictures weeks ago. You can read why those kids were sleeping in lock ups here:
https://www.npr.org/2018/05/29/61507..._medium=social
You can also read in the same article the disparity in Trump's draconian policy towards the children and their parents, and any other previous administration.