Why does water taste weird when it sits in the bottle for a long time? I don't understand how it's fine while sealed but then goes bad a few days after opening.
Water tasting “weird” when left unsealed can be due to several factors:

* If the water has been exposed to air for a while, the concentrations of gases dissolved in the water can change, giving the water a different flavour.  These gases likely include oxygen, carbon dioxide, aldehydes, acetone and others.  When the carbon dioxide concentration, for example, is increased, then so is the acidity, which will change the flavour.
* Over time minerals may precipitate out of solution and create further changes in the flavour of the water. 
* There may be microbial growth. When stored properly with a lid or cork, most bacteria are unable to grow, but when exposed to air this is no longer the case and bacterial growth can occur.
* The temperature of the water can affect its flavour as well.  If the temperature after sitting for a while is different than the temperature after having opened the bottle, this can affect the taste.
Do you think I should drink that contaminated water?
Absolutely not. Consuming contaminated water can have serious health consequences, including the risk of contracting waterborne diseases and infections. It is important to avoid drinking contaminated water and to only consume safe and clean drinking water. If you are unsure about the safety of your water source, it is recommended to use a water filtration system or to obtain water from a trusted and reliable source.