Thaw and dry the spinach: Thaw the frozen spinach completely, then wrap it in a clean kitchen towel and squeeze hard over the sink until no more water drains out. Dry spinach is the key to a thick dip instead of a watery one.
Preheat the oven: Set the oven to 375°F and grease an 8x8-inch baking dish with butter or cooking spray so the dip releases easily when serving.
Beat the cream cheese smooth: In a large bowl, beat the softened cream cheese with a hand mixer or sturdy spatula until no lumps remain, about 1 minute.
Add the creamy ingredients: Mix in the sour cream and mayonnaise until the mixture turns smooth and pale, with a texture like soft frosting.
Stir in cheese and seasoning: Add the parmesan, 1 cup of the mozzarella, minced garlic, red pepper flakes, salt, and black pepper, stirring until evenly combined.
Fold in the spinach: Add the dry, squeezed spinach to the bowl and fold it through the cheese mixture until no white streaks remain and the color turns evenly green.
Spread into the baking dish: Transfer the mixture to the prepared baking dish and smooth the top flat with a spatula so it bakes evenly.
Top with remaining cheese: Scatter the remaining 1/2 cup of mozzarella evenly over the surface so it melts into golden patches as it bakes.
Bake until bubbling: Bake for 20-25 minutes, until the edges bubble steadily and the top turns golden brown in spots.
Rest before serving: Let the dip rest for 5 minutes out of the oven so it firms up slightly and holds its shape on a chip or cracker.