In the Simpsons episode 'Lisa the Simpson', it is established that Homer and Bart carry the Simpson gene, which contributes to baldness and laziness. The Simpson gene is only carried by males so Lisa and Maggie don't need to worry.

Another reason for Homer's stupidity is that a crayon was lodged into his brain when he was six.