slug psychology

My garden contains lots of places that slugs can live happily. Can anyone explain the large numbers that crawl onto the dry concrete floor of our summerhouse and spend the day dehydrating and then dying