When you cook sweet potatoes in the instant pot, you are cooking with steam. Since there is standing water at the bottom of the pot to create steam, you need the trivet to hold the potatoes off the water. This helps the texture of the potatoes and also with even cooking.