I believe a marshmallow topping is added to sweet potatoes because when they're cooked, the gooey marshmallows add a creamy taste and texture to the sweet potatoes.