In the manga

In the Pokémon Adventures manga

Gastrodon releases a powerful ring of mud from underneath it at the opponent. The mud then covers the opponent, causing it to be trapped underneath it, or Gastrodon opens its mouth and fires multiple balls of mud from it at the opponent.