A NIRF position measures an institute on a fixed set of parameters, while a JEE Advanced topper is picking a four-year experience for a specific career path. The two do not always line up, which is why top rankers do not simply follow the rank table.
Students point to several reasons IIT Bombay stays a favourite:
Lifestyle matters too, since some students prefer living in Mumbai to Chennai.
This is perception as much as fact, and IIT Madras is an excellent institute with strong placements and research. Its consistently high ranking reflects real quality. Toppers also tend to follow each other, so a trend in one cycle can feed the next.
For your own decision, don't copy the toppers. Compare the branch you can get at each campus, talk to current students, and consider the city and culture you will be happier in. A good branch at either of the two is a better outcome than a weak branch at your first-choice campus.
NIRF rankings are not the sole factor that determines an institute's worth and credibility
Usually, rankings systems evaluate an Institute based on aspects such as international students, international faculty, and research which don’t matter much for a UG student.
Even without the JEE, IIT Bombay has always been a much more preferred IIT than Madras mainly because of its location advantage and thus excellent opportunities.
IIT Bombay is preferred because of herd mentality as most JEE toppers consider only IIT Bombay worthy of their rank. It’s like because that has been the usual trend, they have to follow it. In reality, IIT Madras has its share of toppers though the numbers might be less in comparison to IIT Bombay.