There are two things that can be considered: one is trivial - that it is quieter at night so you are more likely to hear the horn. The second is physics: the speed of sound depends on the square root of temperature, so the refractive index is proportional to T-1/2.