Well, you could nicely ask how the rating system works.
lichess.org/faq#ratingsIt depends on the difference of the ratings of the opponents, and on how stable the ratings are (rating deviation).
If you are new or lose to a lower rated opponent, you lose many points. If you win against a much lower rated opponent, you will not win much (if any at all).