Cook rice according to package directions. Set aside.
Heat the olive oil in Instant Pot on saute setting. Add the garlic and ginger. Heat for 2-3 minutes, until soft and fragrant.
Sprinkle the dry seasonings (curry, turmeric, cayenne) over the squash and toss to combine. Pour the coconut milk into the pot and whisk the curry, peanut butter, and sugar into the coconut milk until smooth. Add the seasoned squash and tomatoes. Cover and set to pressure cook for 10 minutes until squash is tender but not mushy. Release steam, remove lid, and let stand for 10 minutes (the sauce will thicken).
Add the rice to the pot and mix well, or serve the curry over individual servings of rice. Add chopped or ice cube cilantro just before serving.
