The president’s top aides watched as Supreme Court justices appeared dissatisfied with the administration’s arguments.