Understanding Collective Morality in Group Dynamics