I have no idea why the snails are moving out of the water but they do tend to do that because they are escape artists. Mine will attempt to leave the tank if I don't have a lid on it.
Hopefully someone will come along and give you a better answer......an answer unlike mine that contains fact and logic. *BOUNCINGS