Preheat oven to 350°F (175°C).
Pour melted butter into a 9x13-inch baking dish.
In a bowl, whisk together flour, sugar, baking powder, salt, and milk until smooth.
Pour batter over the melted butter (do not stir).
Spoon pineapple with juice evenly over batter.
Scatter cream cheese cubes throughout.
Sprinkle brown sugar and cinnamon on top for a caramelized crust (optional).
Bake for 40–45 minutes, until golden brown and bubbly.
Cool slightly before serving with vanilla ice cream or whipped cream.
