Wearing costumes dates back to the Celtic tradition of dressing up to confuse spirits and ghosts, preventing them from recognizing the living.