This, of course, excuses the action not at all. But it does explain the choice of countries.
(and, of course, Obama didn't tell Trump which list to pick.)