That would be a firm vote for it being primarily a cynical political ploy when it comes to Trump, I think.
I really don't think there is ever anything deep or multi-layered to what Trump does, nothing has shown he has a political strategy or even understand the concept of tactics. Everything I know about him points to him being at the absolute best of average intelligence and willfully ignorant.
He wanted this for the reasons given - to punish and frighten the people trying to immigrate to the USA from South America, that some of them were young children simply didn't matter to him. He wanted to be "tough on immigration", this was him being tough on immigration.
at the helm.