Suddenly quitting coffee can affect the chemicals present in the brain. When you drink coffee, the brain produces the chemical dopamine, otherwise known as “feel-good hormone.” If there is no coffee in your system, dopamine levels will plunge which will result in grumpiness.