In some cases, past glories can be the backdrop for ghost stories. For example, an old castle that was once a symbol of power and grandeur during its glorious days may now be the setting for ghost stories. People might claim to see the ghosts of former lords or servants.
Well, past glories usually involve a lot of human activity. When those times pass, memories and emotions are left behind. Ghost stories can be a way of the present trying to make sense of the past. For instance, a once - glorious battlefield might have ghost stories about the soldiers who died there. Their spirits are said to roam because their stories from that past glory (or horror in this case) are still lingering. It's a way for the past to continue to have an impact on the present through these spooky tales.