The point is, the Indian system is tough because of competition and when you get early success then you have to perform consistently for the next 10-15 tests as well otherwise someone else will replace you.
This is one of the reasons why more and more cricketers are shifting their time and resources to the T20 format since they stand to earn more money and popularity in a way shorter period without worrying too much about other factors.
Honestly, I would do the same because time is money. Test cricket is great for several reasons, but it requires a huge time+effort investment.
Another reason behind the shift of cricketers to the T20 format is that most of the county leagues in the T20 format include Big Bash, IPL, PSL, BPL, Caribbean League, SA_20, and dozens of other leagues, resulting in a constant demand for players in the T20 format. That is why most of the players retire from ODI format and Test format but do not retire easily from T20 format.