Finely chop the onion and green onion.
Dice zucchini and carrot into small pieces.
Cut the bacon into bite-sized pieces.
Heat olive oil in a pan and sauté the onion, green onion, and bacon.
Add the zucchini and carrot, and stir-fry together.
Pour in the tomato sauce and bring to a simmer.
Add the soft tofu and gently mix.
Turn off the heat and transfer to a gratin dish.
Top with mozzarella cheese.
Bake in a preheated oven at 180°C for 10 minutes.