.xyz (alongside some others like .top, .biz?) in particular have a reputation for phishing/malware/etc., I think because they’re among the cheapest to register.
My domain block list is approaching 1,000 domains and I don't think I have a single .xyz or .biz in there. There's a few .top. But the overwhelming majority is .com.
.xyz though I mostly associate with abc.xyz, the investor relations page for Alphabet.