In the first season, an early script said {Annoyed grunt} Dan Castellaneta interpreted that to sound like D'oh. Everybody thought that sounded great, so they kept it. It was an on the spot improvisation by Homer's voice actor.