Cut tofu and shrimp into bite-size pieces.
Finely chop onion and bell pepper.
Heat olive oil in a pan and sauté onion and bell pepper.
Add shrimp and stir-fry.
Add tofu and lightly sauté.
Pour in milk and heavy cream to make the sauce.
Season with salt and pepper.
Transfer to a gratin dish and top with cheese.
Bake in the oven at 200°C for 10 minutes.