Many people are killed this way, so it might not be just raw ignorance.
Likely, the sound waves on the tracks are counter-intuitive. Young people should be taught not to assume they will hear the train rumbling from miles away.
http://www.esa.int/Our_Activities/Space_Science/What_is_red_shift