Wearing costumes on this day goes back to a medieval practice of dressing as angels & demons
The practice of dressing up in costumes and begging door to door for treats on 
holidays goes back to the Middle Ages, and includes Christmas wassailing.