#17. The Desert

#17. The Desert:

There was a man walking in the desert. It was an especially hot day that day. In the distance, the man suddenly saw a restaurant. He rejoiced and ran to the restaurant and immediately asked the waiter for a glass of water. Instead, the waiter pulled out a gun and pointed it at the man’s head. The man replied with, “thank you”. Why did the man say “thank you”?

Did you solve the riddle?!