Doors can't extend past the end of a wall so you will have to create Openings with the Door Tool in the separate walls and then manually place the door into the opening created. Make sure the Wall Insertion Mode is off when you do that to prevent it inserting it into one of the walls. It might also be prudent to give it a unique Class and temporarily switch the Class Options to Show/Snap Others.