The spread of Halloween can be attributed to Irish and Scottish immigrants bringing their traditions to North America in the 19th century. Its popularity grew, and it was gradually adopted by various cultures worldwide.