Judges showed some frustration this week with how the Trump administration has been defending itself in court.