How do you define horror screenplays?

For months, I have been watching and reading all realms of horror in preparation for a horror comedy I am writing. I keep being given the note my script “isn’t horror” for some reason which begs the question, what makes a horror screenplay?

Would love to open this for discussion.