The top US intelligence official issued a warning on Tuesday about the dangers of climate change in testimony that was seemingly at odds with the skepticism of President Donald Trump and other members of his administration.