The media thrive on fear, uncertainty, and doubt.
The possibility of Scotland voting for independence had that in spades; nobody really knew what it would entail.
Thus the media persisted in presenting it as a realistic, likely prospect, even when it was quite apparent (as per bookmakers odds) that a 'yes' vote was very unlikely.