The US president appeared on the news show for the first time since 2020, when he walked out during an interview.