US President Donald Trump said the only reason Palestinians want to live in Gaza is because they have no alternative.