When a door is open the game thinks the door is closed. When a door is closed the game thinks the door is open. Also, when a door is open, hostile mobs cant get through. And when a door is closed hostile mobs can get through and enter your house, your buildings in general. And this is happening on my iPhone 6 as well.