The cup seals off ambient noise around your ear while the glass transmits the wall’s vibrations into a now nearly silent and sealed chamber. Movies and TV shows where the character presses the open end of the glass against the door/wall simply fucked up.
Latest Answers