It was born from sludge on the ocean floor. In a sterile environment, the germs within its body can’t multiply, and it dies.
Sludge exposed to X-rays from the moon transformed into Grimer. It loves feeding on filthy things.