The marshmallows should soften from the warmth of the caramel, but if they are melting it means your caramel is too hot.