(Interestingly, glamour shares an etymology with grammar. Spell and spelling.)
Not only was your wider point interesting, this digression was also really interesting. Makes sense though, the association between language and magic seems to be pretty common.
I dug up an M-W page on this: https://www.merriam-webster.com/wordplay/the-history-of-glamour





Interestingly “spelling” isn’t related to the magical version of the word “spell”:
https://www.merriam-webster.com/wordplay/word-history-spell