Mood is the atmosphere or emotional quality of a text, while tone is the author's attitude towards the text, conveyed through literary devices and other means.
So your filled-in sentence would be:
A. mood is the atmosphere or emotional quality of a text, while B. tone is the author's attitude towards the text, conveyed through literary devices and other means.