The answer is not a simple one.
Instagram ranks comments differently for every user. The algo takes into consideration variables like number of likes on a comment, the users you follow and your browsing history inside the app. What you see as a top comment, may be not the same for other IG users.
So generally speaking, the top comments are tailored.
However, for top users with big accounts is easier to get top comments, that's because their account authority, so this is one factor of the algo.