There are other ways people inadvertently reveal themself.
1. When sending bitcoin to another party, they have knowledge of the address(es), amount(s), txid(s) sent from along with those txid date/time/blockheight.
2. When someone uses common wallet tools and interface with public electrum servers (as was commonly the case with electrum for deaktop and mobile and still possible with sparrow), the server they connect with knows there is interest in the addresses or blocks requested and can possibly correlate to IP addresses if done over clearnet. The ISP or VPN provider can also deduce that the source of the request is a Bitcoin user.
3. People using assorted mixers and coinjoin tools expose that they have Bitcoin at those times.
4. People making online purchases inevitably reveal a location to mail goods to.