Minecraft wiki entry for Dolphin, associated text: Should the player or another mob hit a dolphin (unless the dolphin is killed within one hit‌[Java Edition only]), the whole pod retaliates, attacking all at once similar to wolves and zombified piglins. Hostile dolphins remain hostile even if they are fed fish.