Sound spreads out from a source. So the farther you are away, the less of the total sound energy you capture in your ear and the quieter the sound seems.