The apostrophe in s’mores is a contraction. It stands for “some of us”—short for the phrase:
“some (of) us want s’more”.
Over time, it became the name for the treat made of graham crackers, chocolate, and marshmallow. The apostrophe replaces the omitted letters in “some of”, showing it’s a contraction.