c. 1300, discorden, "differ in will or opinion, disagree, quarrel," from Old French discorder (13c.) and directly from Latin discordare "be at variance, differ, quarrel," from discors (genitive discordis) "disagreeing, disagreement," from dis- "apart" (see dis-) + cor (genitive cordis) "heart," from PIE root *kerd- "heart."
word-forming element attached to verbs to form abstract nouns of process or fact (convergence from converge), or of state or quality (absence from absent); ultimately from Latin -antia and -entia, which depended on the vowel in the stem word, from PIE *-nt-, adjectival suffix.
Latin present-participle endings for verbs stems in -a- were distinguished from those in -i- and -e-. Hence Modern English protestant, opponent, obedient from Latin protestare, opponere, obedire.
As Old French evolved from Latin, these were leveled to -ance, but later French borrowings from Latin (some of them subsequently passed to English) used the appropriate Latin form of the ending, as did words borrowed by English directly from Latin (diligence,absence).
English thus inherited a confused mass of words from French (crescent/croissant), and further confused it since c. 1500 by restoring -ence selectively in some forms of these words to conform with Latin. Thus dependant, but independence, etc.
<a href="https://www.etymonline.com/word/discordance">Etymology of discordance by etymonline</a>
Harper, D. (n.d.). Etymology of discordance. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/discordance