Original: One M was for Forrest E. Mars Sr., and one for William F. R. Murrie, President of Hershey's Chocolate.
Simplified: The other M comes from the name of the president of the Hershey Company, William F. R. Murrie.