how did the custom of dressing up in costumes start?

best answer
During the 11th century Because 11th century Christians chose to pray for the spirits of the dead instead of hiding from them Halloween developed to be more about dressing up in costumes for the sake of ritual. Surprisingly eleventh-century choir boys dressed up as female virgins for Hallow Mass as part of those rituals.