Earthworms called ‘earth’s guts’ that grow spontaneously in mud and in humid ground; …especially where there is decayed matter…

Aristotle (350 B.C.) The History of Animals.

Why did Aristotle call earthworms the "earth's guts"?

It's because earthworms act like intestines by processing the soil's organic matter and turning it into food for plants.