[adverb]In the sentence 'There's trouble brewing', 'brewing' is used figuratively to mean 'about to start'.Figuratively speaking, it was a blow right between the eyes (= it was a bad shock).
FIGURATIVELY
Meaning of FIGURATIVELY in English
Cambridge English vocab. Кембриджский английский словарь. 2012