There is no proper explanation regarding the damage of teeth. However, the brewing time of coffee or tea is directly proportional to the chances of developing a stomach ulcer. According to the doctors, over-brewed coffee/tea has a higher acid level that leads to ulcer production in the lining. Drinking water dilutes the effect of acid content and prevents the ulcer.