Most species do not demonstrate the level of intra-species specific communication these Orcas are demonstrating. When was the last time a wolf from three packs away came after someone because that person had injured another wolf in a completely different pack?
Amoebas don't respond to attacks on other amoebas, either.
Lets stick to the critters in question, please.
Orcas have demonstrated the ability to teach other members of their species to cooperate in hunting behaviours, well documented in the first video I linked.
This indicates the ability of at least some members of the species to communicate, to teach, and to learn new behaviours to be more effective hunters.
The motive is not as important as the ability.
In the case of the Orcas hunting great white sharks, not only is food a possible motive, but protecting the pod from injury, whether that be protecting juveniles (children) or adults, invoking that self-defense motivation is another possibility. Demonstrated behaviour.
One might claim that self-defense is instinctive, but with the previous video may well be taught/learned behaviour as well.
Now, there have been documented attacks on sailing (not motor) vessels off the Iberian Peninsula since 2020, according to the article, which is three years of a documented, specific style of attacks against those vessels which is apparently intended to disable the vessels.
Not a one-off, but a number of incidents over an extended period of time (years). That one pod exhibits these behaviours may be only a matter of motivation (one pod retaliating to a perceived threat that other pods have not perceived), or it may be the result of a more advanced group.
(As an aside, some humans developed the wheel first, others only as they found it necessary/expedient, and some did not. Variation in intelligence and perceived need can and does vary among the members, or even subunits of a species, and Homo sapiens are a great example).
Those attacks have a (proven) methodology. The specificity of attacking
sailing vessels' rudders (as opposed to those with propellers engaged) indicates knowledge of a vulnerability that can be exploited without risk of being sliced up by the prop, and one that that will disable the vessel.
Takeaways: Those critters are intelligent enough to know what works. Those critters can communicate. They are capable of teaching and learning. By their choice of vessels to attack, they apparently are able to assess risk as well, and avoid it.
But back to canines, putting herding dogs together, they will still work cooperatively to herd livestock, they communicate through sound, and will get the job done, sometimes without even sorting out 'pack status', often because their dominance hierarchy includes humans calling the shots.
Wolves are more pack oriented (closed cultural units), but the bias of observers might not allow for recognition of cooperative efforts between pack elements that are not related, and such may not even exist as wolves are territorial in nature and less likely to accept a new member without the whole dominance thing being sorted out. Feral dogs of different breeds will 'pack up' and cooperate much like wolves.
YMMV Please watch the videos and enlighten yourself.
I remain unsurprised that the Orcas are capable of this.