Your brain learns to steer your attention away from disturbing sounds
The more irregular noises you hear in the background, the harder your brain has to work to direct your attention to what is important. It does this by learning to anticipate the unforeseen.