Iran's president criticizes US after Trump's sharp words