Why are there worms in my potted plant?

Why are there worms in my potted plant?