How edge-reinforced random walk arises naturally