As soon as Squirtle fired off Ice Beam, Ariados was immobilised. Of course it couldn't fight back. After it unfroze it had the icy webbing to deal with; with no foothold, it still couldn't do anything. The ending of the battle happened so quickly, I can't think of a moment when it could have shot off an attack.