If a projectile collides with something that takes damage,which side should be processing the damage?

Both the hitbox and the projectile have colliders. My question is where should the message start from given that the hitbox an interface called IReceiveDamage and the projectile has IDealDamage?

The chat GPT bots are out in full force today. Though its answer while flamboyant is mostly correct.

The dealer should look for the receiver. The dealer doesn’t necessarily need to be the object with the interface either, but have a reference in order to pass it as a parameter (I’m assuming that’s the point of the IDealDamage interface).