Your pumpkin bread can turn out gummy in the middle or wet on the bottom if there wasn't enough flour in your recipe and/or you used too much pumpkin. The flour works to give a nice texture and will absorb some of the moisture from the eggs and pumpkin puree.