Where the seven countries come from
The Obama Administration!
Those countries were previously targeted for “travel restrictions” because of their association with terrorism. That happened under the Obama administration. Trump just enhanced the level of the restriction for citizens of those countries to a total ban.
Thank you commenter “Alex” for this info.