M&M’s hard shell was designed to solve a heat problem.
In the 1930s, as Mars tells it, Forrest Mars Sr. saw soldiers in the Spanish Civil War eating sugar-coated chocolate pellets — the shell kept them from melting in the hand. He copied the idea for his own candy.
M&M’s on Brandseum