Maybe someone was making an IED on the tracks and was spooked off. Seems unlikley a live round fell off a train.
That was my thought as well. That scene in Hurt Locker when he realizes he’s standing on a pile of artillery projectiles that are wired as an IED popped into my head. Especially if those tracks are passenger train travelled.