President Donald Trump previously said a shutdown is the responsibility of the president when Barack Obama was in the White House in 2011 and 2013.