Kenneth Lonergan said this quote

Adolescents show off. That's another way of wanting to connect with people. It's not an aspect of human behavior that we generally consider to be very admirable, but it is, in some way, a means of connecting with someone else and not being alone.