What Usually Goes Wrong
Most dark roast is roasted in a drum, where the beans tumble against hot metal. Heat moves from the outside in, so the surface is always running ahead of the core. Push it far enough to get the dark color and the outside starts to char before the middle has finished.
You end up with a bean that looks fully roasted and isn't. The scorched outside is where the burnt, ashy bitterness comes from. The underdeveloped middle is where the sharp, sour acidity comes from, the kind a lot of people tell us they feel an hour later. Dark on the outside, unfinished on the inside, and both of those in the same cup.