The Justice Department is weighing an appeal after a federal judge dismissed Trump's lawsuit over transgender athletes in California girls' sports.