the meanings "mass of small, cryptogamous, herbaceous plants growing together" and "bog, peat-bog" are the same word: Old English meos "moss plant" and mos "bog;" both are from Proto-Germanic *musan (source also of Old High German mios, Danish mos, German Moos), also in part from Old Norse mosi "moss, bog," and Medieval Latin mossa "moss," from the same Germanic source.
These are from PIE *meus- "damp," with derivatives referring to swamps and swamp vegetation (source also of Latin muscus "moss," Lithuanian mūsai "mold, mildew," Old Church Slavonic muchu "moss"). The Germanic languages have the word in both senses, which is natural because moss is the characteristic plant of boggy places. It is impossible to say which sense is original. The proverb that a rolling stone gathers no moss is suggested from 14c.:
Selden Moseþ þe Marbelston þat men ofte treden. ["Piers Plowman," 1362]
Moss-agate "agate stone with moss-like dendrite forms (caused by metallic oxides)" is from 1790. Scott (1805) revived 17c. moss-trooper "freebooter infesting Scottish border marshes" (compare bog-trotter).
word-forming element meaning "excessive or irrational fear, horror, or aversion," from Latin -phobia and directly from Greek -phobia "panic fear of," from phobos "fear" (see phobia). In widespread popular use with native words from c. 1800. In psychology, "an abnormal or irrational fear." Related: -phobic.
<a href="https://www.etymonline.com/word/mysophobia">Etymology of mysophobia by etymonline</a>
Harper, D. (n.d.). Etymology of mysophobia. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/mysophobia