It’s complex. Demand is outstripping supply in something economists like to call The Coffee Paradox which actually has a book on the subject by the same name:
But the most pressing issues long term are best summarized by this article which if you read nothing else is probably the best answer to your question:
https://www.amazon.com/Coffee-Paradox-Markets-Commodity-Deve....
More information on the short term and long term issues here:
https://financialpost.com/financial-times/peak-coffee-global...
https://m.economictimes.com/small-biz/trade/exports/insights...
But the most pressing issues long term are best summarized by this article which if you read nothing else is probably the best answer to your question:
https://econreview.berkeley.edu/a-world-without-coffee-the-s...
To boot, coffee is a monoculture and deeply vulnerable like bananas.