In the United States (and I presume most other civilized nations), a train hitting someone on the tracks is a traumatic and potentially career-ending event for the train driver. Even seasoned engineers with decades of experience often legitimately need therapy and most wind up with PTSD over it. Imagine being the operator of a massive machine that can sometimes take literal miles of travel to bring to a stop and watching helplessly as a human being disappears underneath it either by accident or intentionally. Your rational mind knows you couldn't possibly have stopped the train in time, but the rest of it says "hey, you were at the controls, so you are responsible." It's such a traumatic experience for a train driver that it's standard practice to provide paid administrative leave and cover the cost of therapy when it happens.
I wonder if it's the same way in India, or if it's something that happens so often that train drivers there just shrug it off and mumble "fucking idiot" whenever it happens.