Welcome to iMore! When you hold the phone like that, it messes up the proximity sensor. That's what causes the screen to go off when you hold it to your ear. Try shifting the phone in a different position.
Kch beat me to the punch.
Sent from my ancient but trustworthy iPhone 5. ☮