Explain the answer to this riddle: What has four legs in the morning, two legs in the afternoon, and three legs in the evening?