I have no idea. I'm hung like a chipmunk but consider myself the luckiest (and happiest) guy alive. I saw this thread when it first appeared in November and started to respond a coupe times but couldn't come up with a good reason.
I can list a few characteristics of mine. I'm optimistic and cheerful, never down for long. I like to quote the lines, "Laugh and the world laughs with you / Weep and you weep alone." To the question whether the glass is half empty or half full, I say it's overflowing. I don't brag about it, but I think I'm one sexy dude, a real hunk. I've been lucky and been involved in athletics all my life, and have great health. I like people, am fun to be around, involve myself in things bigger than myself like my community and my church.
These may explain the basis for my happiness, but they don't explain where these characteristics came from, or how I acquired them. A lot's probably genetics, a lot's probably due to the support and love of my parents. True, I've got a lot going for me, but most of us do actually. It's just not concentrating on the negatives.
I will say, however, that a lot is determined by our conscious thoughts and decisions. For instance, the other day I went to pick my car up from the garage. It wasn't ready yet and I'd have to wait for nearly two hours. Bummer! Was gonna throw off my schedule completely. Gym was out the window and it would probably screw up plans with my wife for dinner. It was all their fault, they should have scheduled things better! Now I had two alternatives. I could stew, curse, storm up and down, make myself and everybody else at the dealership miserable, or I could do what I did: retrieve a book from the car, get a cup of coffee and sit back and enjoy a couple hours of reading. All the fretting and fuming wouldn't change anything, why not just enjoy myself?
A friend of mine's grandmother taught me that lesson. She hated ironing, really hated it. (And these were the days before permanent- or easy-to-press clothes.) One day she said, "Mina, no getting out of it, you've got to do it, so why not enjoy yourself?" So she set up her ironing board, turned on the radio and listened to music while she ironed her clothes. Ironing soon became her favorite time of day, something she looked forward to - a chance to shut out the problems of the world for an hour or two and listen to her music (probably Elvis Presley). I've remembered that and always catch myself when I'm starting into that spiral of anger and frustration over things. You can make yourself miserable or happy, it's up to you.
In a broader sense, that's what we have to do with all our problems in life: let them get us down or look on the bright side of things. We ourselves determine how we react to things. I can't do anything about having a small cock. But I'm good-looking and have had no trouble attracting attractive women. I could have pulled back, pitied myself, "O! Woe is me!" and been a veritable eunuch for most my life. Instead, I said, "In for a penny, out for a pound" and have ended up having a great sex life (and a gorgeous wife). Sure, I've been rejected by some women for the having a small cock. So what? Lots of guys have been rejected for being too short or too tall, for being blonde or brunette or a redhead, for being too dumb or too smart, you name it. On the other hand, there are lots of women who like tall guys, or short guys, or blondes, or brunettes, or redheads. Pick yourself up and try, try again. It's no big deal. There are lots of fish in the sea, and fishing can be a great sport if you don't mind not landing a fish every time you throw out your rod.