Dreams are all triggered by subconscious thoughts you may have had today or a few days ago. Something that made an impression gets twisted into your dream. It could've been a fluffy bunny, but your psyche makes it into a demonic monster trying to hunt you down. In your case, your fear of doors...