one reason I have found it due to water conditions. Temp may be too hot, or SA might be high. They continue to forage while out of the water, so it could be a simple explaination, hunger. When my sump overheated from my --- heater not in curculation, all my slugs and snails came inches out of the water to get out of the rising water temps.
I wouldn't doubt other explanations too.