President Trump faced backlash for addressing Iran and US elections during a White House ceremony for children.