Protocol leaks
are very likely with torrent. See:
In essence torrent applications determine your real external IP address and add it into the content of the transmissible.
As an analogy: Imagine you send a snail mail letter without adding the sender (i.e. like using Tor). But then inside the letter you add your sender. That’s kinda what happens with some torrent clients. More detailed:
Bittorrent over Tor isn't a good idea | The Tor Project
Related, Whonix filesharing: