Dynamic origin of spatially discordant alternans in cardiac tissue