I like how there really isn't an argument against this outside of the fact that Trump proposed, so it has to be bad.
Apparently solar is bad when Trump wants it.
A wall is the worst possible orientation for a solar panel array. They should be on the ground with the array oriented North to South so the panels can be angled to maximize sun exposure. Putting them on the face of a wall means you cut out sun exposure or at least expose it very inefficiently for half of the year. Unless the suggestion is to place them on the top of the wall, then you have to build the wall thicker. In either case, it adds to the cost massively, just to say 'but we added solar', it would increase the cost of the project in the factor of 10's.
It's a ridiculous idea.