I've never heard the term for it, but I always thought it was because they were getting moisture or some form of nutrients from the wet soil. I've even seen them do this on pieces of old Styrofoam laying around close to a boat dock.