Unlike a brownie-style cookie that uses melted butter, these bakery-style s'mores cookies get their height and puffy texture from creaming room-temperature butter with sugar. This process whips air into the dough, giving the cookies a softer, cakier lift. The trick here is to wrap the dough completely around half a marshmallow, which creates a gooey, melted center that stays soft even after the cookies cool.