Why does my relay write more bytes onto the network than it reads?

Tor relays often appear to transmit more bytes than they receive because of directory responses and how Tor packages data into cells.