This photo and the following photo share the same subject and background. However, this photo was taken in portrait mode with an f- stop of 5.0. The f-stop was high because the focus was on just the hand which is closer to the lense. You can clearly see the difference between this photo in portrait mode and the following photo. The hand in this photo came out more clear and the face is blurry although the depth of field is relatively small.
This photo was taken in landscape mode with and f-stop also of 5.0. Since this photo was taken in landscape mode, the foreground and background are both in mediocre focus. Also the lighting creates less of a focus on the hand as the photo taken in portrait.