It is because of the proximity sensor. It turns the screen off to avoid touching the screen which may accidentally end the call.