Why does a condition in WHERE turn a LEFT JOIN into an inner join?

Consider this query: SELECT … FROM customers c LEFT JOIN orders o ON o.customer_id = c.id WHERE o.status = 'paid'. Customers without paid orders disappear from the results, even though the query uses a left join. Explain when these customers are filtered out and how to rewrite the query to keep all customers.

ExplainJOIN and row countsMiddleAnalystData EngineerBackendQA