External API and database calls in Frontend or Backend?

I am working on a startup. During a meeting an investor asked me why am I calling the external APIs and database queries in the frontend with Ajax-Javascript and not in the backend? I couldn’t answer the question. I have not much experience in backend development. Is there anything which I should consider in my frontend development? Performance? Scaling? Any advantages or disadvantages with frontend or backend?

Thank so much.