You should always optimize content for humans first. Search engines and AI systems are designed to understand and rank content that helps real users. If your content is clear, useful, and easy to read, it will naturally perform better in search results.
When you focus only on AI systems, you may overuse keywords or write in a robotic style. That can hurt user experience. Visitors will leave quickly if the content does not feel natural or helpful.
A smart approach is to write for people first and then optimize for search. Use proper headings, relevant keywords, and structured answers so AI systems can understand your content easily. But never sacrifice clarity and value just to please algorithms.
In the end, humans are the ones who read, trust, and buy — so they should always come first.