The bridge between the words glamour and grammar is magic. According to the OED, glamour evolved through an ancient association between learning and enchantment.
Roy Peter Clark, The Glamour of Grammar: A Guide to the Magic and Mystery of Practical English
definition, enchantment, etymology, glamour, grammar, learning