My theory is they will do this so they can quickly throw themselves back into the water. I have seen them do that many times. It gives them an edge.
The truth is probably much different. Most likely climbed out a little, it was work, fell asleep. They are not deep thinkers.
Found on the side a trail, ACE Basin, South Carolina.