Leaves turning yellow and brown

Hi, I’m new to gardening. My purple chili plant was doing great and blooming with flowers. But these 2 days, I’m starting to see the leaves turning yellow and brown. Can anyone help?



It can be phosphorus deficiency. Also possible underwatering and overwatering can cause this.