In the wild, snails do this to "migrate" from one area to another. It's much faster than "walking". They simply float up and let the current move them to a better area. You might need to make sure your snail is getting enough food. Or it may be looking for a mate, and not finding one, trying to move on to a more snail rich area.
\Dan