Land borders. In Northern Ireland this creates a problem because you eitehr have to have a customs border between NI and the Republic of Ireland or between NI and Great Britain. The first can't really happen. The second is more natural but separates the Unionists (Protestants) from the UK but it's the only practical solution.
Combine this with the Republican (Catholics) population growing faster than the Unionists and Brexit has made reunification essentially inevitable.
So imagine how "Scexit" would work. A hard border between Scotland and England? It's almost as unworkable as a border between NI and Eire. This is really why Scexit has failed and that'll continue to be the case.