Emails can be marked as spam for various reasons, including poor list management, misleading subject lines, excessive use of promotional language, and sending emails without proper consent. Internet Service Providers (ISPs) and email clients use complex algorithms to filter spam, which consider factors such as sender reputation, email content, and user interactions.