Why do guys brag?

I'm in high school and every boy I know brags about what he's done sexually with any girl. And the boys tend to make it more dramatic then what really happened. Why do you guys brag about it? Is it just because their teenage boys or is it a pride thing ?