Start by chopping the onions, bell peppers, and chili. Press the tofu for at least 10 minutes and tear into bite-sized pieces. Having everything ready ensures a smooth cooking process.
Grease your baking dish with a little oil. Spread onions, bell peppers, and chili on one side and tofu on the other. Sprinkle spices evenly over the vegetables and tofu.
Combine tomato puree, ginger-garlic paste, yogurt, and salt in a bowl. Pour over the veggies and tofu, then add rice and water or stock. Gently mix to combine without mashing the tofu.
Cover the dish with foil and bake at 400°F (205°C) for about 35 minutes. Remove foil for the last 5 minutes to get a slightly golden top. Fluff the rice with a fork before serving