The correct way to interpret this study is that dopamine is part of the signaling chain involved in fear extinction. The specific details of where, how, and when that dopamine moves through the brain are important.
The wrong way to interpret these studies is to think of dopamine as a "level" within the brain that goes up and down. Resist the urge to assume that taking a dopamine-modulating drug will result in this specific outcome.
Dopamine response within the brain is very complicated and region dependent. When encoding aversive stimuli (things you learn to avoid) there is evidence that dopamine signaling decreases in some brain areas while it increases in others: https://www.sciencedirect.com/science/article/pii/S235215462... That's just the tip of the iceberg. Don't fall for the trap of thinking that dopamine does just one or two things in the brain.