This knowledge of musical styles is typically learned from years of experience listening to and mixing sound in live contexts.
Acquiring knowledge of various music styles typically occurs over a long period, gained from years of actively engaging with sound in live performance environments.