Because Gary is like a domesticated house cat, his mannerisms are mirrored by how a cat acts and reacts. In the show, snails are the equivalent of cats in Bikini Bottom. That's why he meows and does cat-like things.