The reason that teens wear hoodies in summer heat is simple. It's because they're stupid.
Is there science behind why teens wear hoodies in summer heat?
They seek anonymity. That's why we see many wearing masks even when mask mandates have been lifted.
With climate change and the wether generally getting warmer. I think about arab countries where people cover up completely, which counter intuitively actually keeps them cooler than exposure to direct sunlight.
It is easier for the boy to maintain homeostasis and regulate temperature if the body is covered evenly. It can go either way. Either you cover up completely or you undress completely. However exposing the skin directly to the sun can burn the skin. Thus, in the Arab deserts people cover up. However in the forests of South America natives go almost completely naked because they have forests that give them shade. In Australia the native go almost completely naked, but their dark skin protects them from extreme sunlights.
Anyway, kids who cover up may not be quite as stupid as one would suppose.
One reason is psychological. They think it gives them a certain measure of being invisible or hiding their identity. One teenage client told me (after several sessions of therapy) that it helped him hide his worthlessness.
Great minds. I was thinking the same, you saved me the typing.