How Do I Find Which Element of a Group Triggered an Event?

First, please use code fences when posting code

Then what is the trigger? A group item. Therefore the triggering Item is the group item.
You may want to explore the Member of trigger as mentionned in the post above

Third, your post didn’t have a topic so I move it to Script and Rules