Hi @Shreeya_qiime and welcome to the forum!
It looks like Shannon values are declining, likely because as the sequencing depth increases, you're averaging over fewer samples (those with lower depth than the sequencing depth are excluded). You may want to generate curves by sample instead of aggregating them by metadata.
We addressed a similar issue recently, and in that case I redirected the user here.
Hope that helps,
Sergio