Why do snails climb up walls and stay there till they die?

I see the shells of dead snails stuck all over the outside of buildings. Don't understand why they just stay there and dry up. Maybe they can't climb in a downwards direction?
1 answer 1