We mention our deceased on the holy days because remembering them and pledging charity on their behalf, particularly on these holy days, helps elevate their souls.
I would like to suggest that remembering the deceased can actually bring a certain sense of joy. We believe that there will be a resurrection of the dead, and we anticipate a time when we will all be celebrating together once again.