Why did the duck say Bang!?

Because he was a firequacker!