Heat oven to 400°F. Set an 8-inch oven-safe skillet or small baking dish.
Toss tomatoes with olive oil, garlic, and red pepper flakes in the dish.
Roast until tomatoes soften and start to blister, 8–10 minutes.
Stir in spinach to wilt slightly, then bake 2–3 minutes more.
Pour in cream and scatter feta over the top. Season with half the salt and pepper.
Make four small wells. Crack the eggs into the wells.
Bake until whites set but yolks are still glossy, 8–12 minutes.
Finish with remaining salt, pepper, and dill. Serve hot.