Spam filters are designed to protect users from malicious content, and attachments are often flagged as potential threats. Common triggers include large file sizes, uncommon file formats, and multiple attachments. To avoid this, it is generally better to provide a link to the file hosted on a secure, reputable site.