This could be happening for a few reasons. It might be that you underbaked your loaf, so cut it in half and see what the middle looks like. Make sure your toothpick comes out clean before removing it from the oven. It could also be that you overmixed your batter or that your oven is too hot! Use an oven thermometer when baking to make sure your oven temperature is accurate.