There are a few reasons that Halloween costumes can be scary.
First, many of the costumes are based off of traditional demonic spirits or monsters. These costumes can easily inspire fear in people who may not know about these things.
Second, many of the costumes are very detailed and gruesome. This can help to create an eerie atmosphere that is sure to spook everyone who sees it.