Instagram explains how they rank and order specific posts and stories that users may like. Essentially, the science behind this decision is based on the following:
Information about the post
Information about the person who posted
The user’s activity
The user’s history of interacting with someone