Preheat your oven to 350°F (175°C) and grease a 9×13-inch baking dish.
In a mixing bowl, whisk together the flour, baking powder, and salt, then add the granulated sugar and cocoa powder, and whisk to combine.
In another bowl, whisk together the milk, melted butter, and vanilla extract, then pour the wet ingredients into the dry ingredients and mix until just combined, and spread the batter evenly in the prepared baking dish.
In a separate bowl, combine the granulated sugar, light brown sugar, and cocoa powder, and sprinkle this mixture evenly over the batter in the baking dish.
Pour the hot water evenly over the top of the batter and topping mixture without stirring.
Carefully place the baking dish in the preheated oven and bake for 35-40 minutes, or until the top is set and the cobbler is bubbly.
Allow the cobbler to cool for about 15 minutes before serving, and serve warm with a scoop of vanilla ice cream if desired.