not only peace. Given the investment and maintenance required, trains require some degree of social/economic connectedness between places it connects. For example, the fall of USSR resulted in many train routes disappearing, and in the recent years Russia/Ukraine transport connections naturally got hit.