This is because, proper earthing. Because power for plug points in train is generated internally through third rail power. This third rail power and its associated electronics, sometimes create power with uneven voltage level which surely harm your mobile charger and mobile too.