however he didn't create the list of the countries that were banned.
In tech, this is a problem with things like random half-assed anti-spam lists that people find and adopt with no critical thinking behind.
There are, of course, reasons why the countries on that list were there in the first place too - mainly recent terrorist attacks in Europe by people from said countries. I imagine it's not quite the list Trump's administration would draw up (there's talk of adding Pakistan, which is an obvious omission), but given how much flack and dubious accusations they received for literally copying Obama's list it was probably politically unwise for them to create their own.