Firstly, I'm not sure how much store I'd put in the accuracy of a Hollyweird railroad depiction; some realistic, others not so much.
As to why things changed, I'm not sure they did. Horns are not all the same. Some, particularly on older diesels, have only a single "chime" that emits but a single note. Others, like Amtrak's K5LA horns, have multiple chimes that emit a chord composed of the individual notes to which the chimes are tuned (the K5, as the name implies, has 5 chimes). Single chime horns are not all tuned to emit the same note. Freight locomotives almost all have horns that are visible (passenger engines not so much), so you can eaily see how many chimes they have, and therefore how many notes make up the chord you hear when the horn sounds.
Here's a video clip of a first generation diesel, with a single chime horn, as an example:
- The Illinois Railway Museum's Burlington Nebraska Zephyr trainset passes outbound through the village of Tiskilwa, Illinois, during an excursion from Rock Island to Bureau Junction on 7-24-11. Gotta love that single-chime horn (not exactly a K5) and Mars oscillating headlight!! From Whooz' Train Video Asylum.