Once you develop a habit of doing something, it can be tough to drop the habit without something to interrupt your thought process.
For instance, I noticed myself picking up my phone and browsing certain websites (dopamine sources) whenever my thoughts wandered into a topic I find distressing -- instead of confronting those thoughts and thinking them through. For me, Facebook happens not to be addictive, but other sites are (for instance, Quora). I was wasting hours on those sites instead of doing productive things.
Setting up a content blocker to make me think twice before visiting them has helped. So has adding an app that I can set to block using my phone for a given period of time, forcing me to put it down and do other things.