The change in pitch of a train's horn as it passes while you are standing still can be explained by

Aresonance.
Bthe Doppler effect.
Csympathetic vibration.
Dultrasonic vibrations.