I think this is due to an 3rd party app you have installed on your phone, go to battery settings and see which app is draining your battery it will be surely a 3rd party app which is continuously running in background even after you close it, that is...
Bhai ye to sabme hota hai, earpiece speaker ke paas me proximity sensor hota hai to jab calling ke time aap phone apne ear pe lagate ho to touch hone ki vajah se kuch ulta seedha option na khul jaye isiliye screen off ho jaati hai