Fish, frogs and crabs are different animals, but their ordinary life in water is the common feature relevant to the cited rule.
Whether a creature’s death spoils water is a different legal question from whether its flesh may be eaten. The first does not decide the second.