In my experience hyundai puts in a lot of features into their cars especially at their mid market price point, which is great until the car is 7+ years old extended warranty no longer covers and/or you have rough usage.
Toyota are really the best when it comes to reliable older cars, Ford is not too bad especially since a used Ford is not as expensive as a used Toyota
I have had better experience with older Ford cars than with Hyundai cars.
I think more than reliability and service, it is the their inability to keep adding all the bell and whistles expected in a hyper competitive market is what is doing them in.
India is a very young market a lot of first time buyers etc, new sales is less influenced by service /after market experience(ola electric* or MG and other new entrants have had no problem selling) and lot more by attractive financing, marketing and all the trinklet features people are usually attracted to.
Perhaps I am biased because I have worked with Ford in the past (and also Hyundai)
* Although still very early days and only pre-orders for small token amounts they have had very strong reception, concerns over after market experience is not all that prominent concern as you would expect.