In a large bowl, combine the thawed and squeezed dry spinach, chopped artichoke hearts, softened cream cheese, sour cream, mayonnaise, minced garlic, grated Parmesan cheese, half of the shredded mozzarella cheese, salt, pepper, and crushed red pepper flakes (if using). Mix well until all ingredients are evenly distributed.