This mainly happens on two story houses/buildings...
If you walk into the upstairs portion of a house that has a door that can NOT be opened AND ALSO has ANOTHER door downstairs that CAN be opened, you will get the onscreen icon to open/close the door. When clicking on it, the door in front of the player does nothing. However, the downstairs door opens/closes.