SPF is allowed 10 DNS lookups. Go over and it breaks for every email, silently. This walks your whole SPF tree live and shows what each include costs.
Enter a domain.
What counts
Every include, a, mx, ptr, exists and redirect costs one lookup, and so does everything inside each include. ip4, ip6 and all are free. Lookups that return nothing ("void lookups") are capped at 2. The usual way over the limit is stacking tools: Google, Microsoft, a CRM, a newsletter tool and a help desk can pass 10 on their own.
Getting back under 10
Remove tools you no longer use. Old includes are the most common cause.
Move marketing and cold email tools to a subdomain with its own SPF, like mail.yourdomain.com.
Many tools (SendGrid, Mailgun, Brevo, Amazon SES) send from their own bounce domain and don't need to be in your root SPF at all. They need DKIM on your domain.
Flattening (replacing includes with IP addresses) works, but the IPs change without warning. Only do it with a service that updates it automatically.