A wall is a structure that defines an area, carries windows and doors hence doors and windows can be opened but wall cannot.
One of the following sentences is nonsensical. Which one is it?

[A] "open the wall when you get up in the morning"
[B] "open the window when you get up in the morning"