Rappers use hoodies for a variety of reasons.
Hip-hop culture arose in the Bronx in the 1970s, spawning rap music, graffiti, and breakdance. At the period, wearing a hoodie meant keeping a low profile, and a design like a cobra hood was worn to scare others. The publication of "Rocky" in 1976 gave the streetwear hoodie a new dimension of meaning.