So, because there’s no movement, the dative case dem Bett has to be used after the dual case preposition unter. Here are two more sentences using unter for you to compare: Die Katze läuft unter ...