I think the limit for rating gains is a -200 ELO difference, if you're playing someone with a larger rating gap they're basically freerolling you. Not 100% sure what parameters chess.com use but it's likely +-200 with a K-factor of 10 (how many points you win vs equal rated opponent).