You can find out the tag or name of the objects that collided, this information is stored in the Collider otherCollider other
you pass to the OnTriggerEnter(Collider other)OnTriggerEnter(Collider other)
function.
Deciding who hit who is something you need to set the criteria for.