There's a view from the bed straight out of the door if the door is left open - not very restful.
Have a look at the door placement and think about what your impression is when you walk into the room (isn't it nicer to see the from the foot or middle of the bed with the pillows) and how it would feel to be in bed (it's nicer to feel protected and away from the door).
If the door is directly at the foot of the bed this generates a slightly uncomfortable feeling - particularly if the door is open. It means there's a view from the bed straight out of the door.
If the door is at the head you don't get a nice view of the bed when you enter the room and you don't feel as protected in a space when the door is behind you.
Another pet hate of mine is doors opening onto an obstruction - in particular a wardrobe...