marshmallows get sticky in an opened bag because moisture fills their air pockets, making them collapse. to keep them fresh: set the opened bag in a container with a tight-fitting lid or in a freezer-safe plastic bag. avoid packing too many marshmallows together.