I have no evidence to provide, but I think the brain tunes out the noise as the brain has decided it's not important.
Some relatives used to have a railway line close to them and after a couple of days staying with them, never heard/noticed the trains.
I live near an airport, when I've heard the first plane, either take off or come into land, I don't hear most of them for the rest of the day.