As with the nicknames of all Haydn's symphonies, it did not originate with the composer. Instead, the name derives from a recurring feature from the last movement (including its famous opening), in which Haydn imitates the tonality of bagpipes or Dudelsack: a low sustained drone, accentuated by a grace-note on the downbeat.
The nicknames for all of Haydn's symphonies, including this one, were not created by him but rather from a recurring feature in the last movement that is reminiscent of bagpipes or Dudelsack.