Federal investigators are examining overturned rail cars and a stretch of tracks as they try to determine why an Amtrak train derailed in rural Montana over the weekend.