Perhaps an alteration of earlier goofus (first attested in the 1920s), due to influence from Scots doof (“simpleton”). Scots doof is derived from Low German doof (“deaf", with a secondary sense of "idiotic, stupid”). The Low German word is cognate with English deaf. Some have proposed that perhaps dupe played some kind of role in the development of doofus as well.