This is because of the yeast. If you do an overnight proof, this can happen as the yeast develops ore flavor. I personally love the more complex flavor. However, if you over proof the dough (especially during the last proof), the bread will have an unpleasant flavor and will also be dense.