That's probably since you barely had any games, so your k factor was really high. Basically, for your first few games, you gain a lot of elo per win and lose a lot of elo per loss. This continues for a few games, and this margin of elo gained/lost slowly decreases as you play more games, until it reaches the standard +8 per win, -8 per loss (assuming your opponent is of similar elo). Chess.com does this so that after a few games, your rating more closely matches your actual chess strength.
I can't get how Chess.com calculates Elo ratings.
I played a guy rated 27 pts higher than me, I lost, he won +18. Then, I played a gay ranked 70 pts over me, I won and got +10 (?!!).
This is puzzling, I would like to understand how it works because at the moment it doesn't make sense to me.
Games mentioned:
https://www.chess.com/analysis/game/live/123306005910?tab=review
https://www.chess.com/analysis/game/live/123366532102?tab=review