01 - Preheat the oven to 350°F. Grease a 9x13-inch baking pan thoroughly with cooking spray or butter.
02 - In a large bowl, combine the strawberry cake mix, eggs, vegetable oil, and water. Mix according to package directions until well blended. Pour the batter evenly into the prepared pan.
03 - In a separate bowl, beat together the softened cream cheese, butter, powdered sugar, and vanilla extract using an electric mixer until smooth and creamy.
04 - Drop spoonfuls of the cream cheese mixture evenly over the surface of the cake batter, spacing them across the pan.
05 - Scatter the diced strawberries and white chocolate chips over the top. Sprinkle with shredded coconut if using.
06 - Using a knife, gently swirl the cream cheese mixture into the cake batter to create a marbled effect. Be careful not to overmix—distinct swirls should remain visible.
07 - Bake for 40–45 minutes, or until the cake is mostly set but still slightly gooey in the center. Do not overbake—an earthquake cake should retain a bit of molten texture.
08 - Allow the cake to cool in the pan for at least 30 minutes before slicing. Serve slightly warm or at room temperature.