I suspect gearbox noise, but you can narrow it down by listening to the frequency of the sounds. It would have to be fairly fast to be the motor flywheel hitting or rubbing on something. If it's slower, it could be gear/wheel related.
Of course, the new Lionel Legacy stuff has creaks and groans in the sound file, so turn off the sound to hunt it down.