Preheat the oven to 375°F. Line a 12-cup muffin tin with paper liners.

For the topping, combine the coconut, flour and brown sugar in a bowl. Using a fork, stir in melted butter. The mixture with be slightly lumpy.

For the muffins, stir together the flour, brown sugar, baking powder, baking soda and salt in a bowl. In another bowl, whisk together the egg, coconut milk, coconut cream, butter, rum extract and vanilla. Make a well in the center of the flour mixture and pour in the egg mixture. Using a fork, mix the batter together until just combined. Do not overmix. Fold in the pineapple cubes and flaked coconut.

Evenly divide the muffin batter among the muffin cups. Divide the topping among the muffins. Bake for 20-25 minutes, until a toothpick inserted into the center of a muffin comes back clean. Transfer the muffin tin to a wire rack and let cool for 5 minutes before turning out the muffins. Let the muffins cool completely on the wire rack.

For the glaze, whisk together the confectioner’s sugar, coconut milk and rum extract until no lumps remain. If the glaze is too thick to drizzle, whisk in 1/4 teaspoon water to thin it out. Drizzle the glaze over the cooled muffins.