Well yes...in first case you authorize only zoho.com to send emails but you sent all your mails from localhost using PHP ,generaly in spf record you should include A records,IPv4 (address of your hosting account),mx record and + any remote smart host or smtp server you want relay in.
For example this will authorize one IP xx.xx..xx.xx + all your A records in hosting account like mail.yourdomain.com and yourdomain.com + mx records + zoho and mailjet
v=spf1 ip4:xx.xx.xx.xx +a +mx +include:spf.mailjet.com +include:zoho.com ~all