I would theorize the obvious: the circuitry in the "doorbell" may be emitting some dog-audio frequencies as it powers up and begins to transmit.

Which part of the "doorbell" is the question though.. more likely the inside part with the "bell" ?