Historic reenactment and historically themed social events may serve a variety of functions for the different people that participate in different events:
- Some people in virtually all societies value traditionalism (Schwartz, 1992).
- Traditionalism relates to religiosity (among Judeo-Christian faiths; Schwartz & Huismans, 1995).
- Some hold romantic ideals of the past (e.g., the notion of "simpler times"). Personality traits related to these attitudes may (I'm speculating here) include the past-positive type of time perspective (Zimbardo & Boyd, 1999) and low openness to experience, which also relates to traditionalism.
- Some may desire an escape from the ordinary environments they're used to in daily life.
- Some enjoy dated fashions that don't seem quite right to wear in ordinary, modern contexts.
- Some events involve celebration of history, which is valuable in its own right.
- Some attendees probably enjoy any opportunity to dress up, act a part, or socialize in general.
- Extraversion and self-monitoring may be relevant traits for understanding these motives.
- The motive itself may be the need for affiliation, which is stronger in some individuals.
- Social contact serves many psychological functions, including the enhancement of well-being.
Surely some celebrants are ignorant of the social issues of those times, but some aren't. Either way, many choose to celebrate the times for their good aspects, and at least a few probably feel the good aspects include the less modern social views of those times. It's conceivable that some people would even feel more comfortable in situations where attitudes such as misogyny or racism could be expressed more freely by excusing them as part of an act. However, my mere intuition and very limited personal experience suggest that most celebrations of the past aren't celebrations of the more controversial aspects such as these.
References
Schwartz, S. H. (1992). Universals in the content and structure of values: Theoretical advances and empirical tests in 20 countries. Advances in Experimental Social Psychology, 25(1), 1–65. Retrieved from http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.220.3674&rep=rep1&type=pdf.
Schwartz, S. H., & Huismans, S. (1995). Value priorities and religiosity in four Western religions. Social Psychology Quarterly, 58(2), 88–107.
Zimbardo, P., & Boyd, J. (1999). Putting time in perspective: A valid, reliable individual-difference metric. The Journal of Personality and Social Psychology, 77, 1271–1288.