You're talking like farmers are making a lot money, this is not true because most of farmers are not really rich, they're just middle or low class people.
Farmers always get pressured with agent who're used to buy all of their harvest to sellers who will sell it to customer. What I know the sellers are mostly make a lot money because they're taking more risk that would receive higher profit.
Food prices always increased, currently it's caused by climate change since the weather is really hot and rarely to rain.
If we talk about farmer income or low selling prices making farmers less prosperous, it all depends on government policy because the government has a big role in regulating the price of fertilizer (agricultural material) and also its purchase. prices in big factories.
However, the increase in food prices in a country is not necessarily because the agricultural sector is experiencing disruption, because the increase in food prices is also influenced by currency fluctuations and global economic factors which have quite an influence on the increase in food prices in a country.
Even without drought or crop failure, the price of food or any other commodity will increase over time, and if there is no inflation or crop failure, they will increase but they won't increase quickly and we won't notice. Just compare food prices many years ago and prices before inflation occurred and you will see a huge difference. My country is also an agricultural country but does not have crop failures like your country, but prices are still very high compared to before inflation occurred and show almost no signs of decreasing.
As time goes by, almost every country experiences this, all of which are influenced by the global economy which will affect production costs, currency fluctuations, increases in world fuel prices and several others, causing an increase in food prices in every country, even though it is an agrarian country, but there are some of the things that affect this increase (if the country's government is not able to overcome and balance then they will also be based on the global economy) so it's the same in my opinion.