Normally, left-clicking an Interaction entity saves the attacker on its NBT data, allowing commands to detect the left click.
However, they seem to ignore their attackers when any weapon with minecraft:piercing_weapon component such as spears hits them.
How to replicate:
/summon interaction
Get a spear
Attack it with the spear
/data get entity @n[type=interaction]
You will notice that the “attack” NBT field is completely empty. If you repeat this with any other item, that field gets filled up like normal.
Environment
Datapacks or maps that use interaction entities in 25w45a
As shown as slicedlime in their snapshot video, this was not actually fixed despite being flagged as such: https://www.youtube.com/watch?v=CH_mI68_Ljk
I recommend this bug report being reopened until it is actually fully addressed and fixed.