Instagram looks at your likes, saves, comments, mutes, and any other types of activity. After making an analysis it shows depending on that.