In the early days, horror films didn't really have a proper soundtrack composed by scratch. Instead, directors and composers repurposed existing pieces of classical music to get their desired effect.
Requiem in D minor, K 626, Dies Irae - Halloween Mozart Music - song and lyrics by Horror Music Orchestra, Wolfgang Amadeus Mozart | Spotify.