Low-frequency sound carries higher energy with a longer wavelengths. It has sufficient energy to shake the wall a little bit. Which will transfer the energy to the air behind the wall. That's why it can travel through the wall.