Cut the tofu and eggplant into bite-sized pieces.
Chop the onion and bell pepper.
Heat olive oil in a pan and sauté the eggplant, onion, and bell pepper.
Pat the tofu dry with a kitchen towel, then mash it.
Put the sautéed vegetables and mashed tofu in a bowl and season with salt and pepper.
Place the mixture in an oven-safe dish and add tomato sauce.
Sprinkle mozzarella cheese on top.
Bake in a preheated oven at 180°C for 15 minutes.