Start by chppping the pear, eggplant, zucchini, red bell pepper, and onion and set everything aside
Heat 2 tbsp of olive oil in a large skillet over medium heat. Add the chopped onion and whole garlic cloves, and cook for 2-3 minutes, stirring occasionally, until the onion becomes translucent.
Remove the onions and garlic from the skillet. Add the diced eggplant and red bell pepper to the skillet. Cook for 5-7 minutes, stirring occasionally, until the vegetables begin to soften but retain their shape.
Remove the eggplant and red bell pepper. Add the zucchini and cubed pear to the skilled, cooking for another 5 minutes until the zucchini becomes tender and the pear begins to soften.
Add the cooked onions, garlic, eggplant and bell pepper back into the dish. Stir in the cherry tomatoes and red pepper flakes. Stir to continue.
Reduce the heat to low and let the raratouille simmer for 10 minutes, allowing the flavors to meld together.
Once the vegetables are cooked and the tomatoes have softened, remove the skillet from the heat. Taste and adjust seasonings if needed. Garnish with fresh cilantro before serving.