Anthropologists have gone back and forth as to whether animals grieve. They seem—almost as if intentionally—to miss the point.
The most likely explanation is that death is a process of shutting down, rather than an instant when everything stops. The genes to grow a spinal column, for example, resurfaced but maybe they had been suppressed because the deceased already had one. Still much to learn but that’s a good hypothesis to test.