I hate to inform you that hotels do this so people who are using the room to hook up with a sex worker can watch and make sure they aren't being robbed while they're in the shower or bathroom.
Yeah, because they dont stay in that kind of hotel. It's something you see in the cheapest places, that 10cm of wall thickness they save per room might let them add one more shoebox to the floor.