The correct option is B kinetic energy
Let the ground on which the train is moving be our frame of reference. Then, the train will have no gravitational potential energy, as the height at which the train is moving is zero. Thus all the mechanical energy of the moving train will be in the form of kinetic energy.