Ratings adjustments depend on the following: a) game outcome, b) ratings difference between players, and c) the RD (i.e., ratings deviation) factor of BOTH players. The RD factor is the most mysterious of these issues. The RD factor is inversely proportional to playing frequency, so a player who plays often has a low RD, and an player who plays infrequently has a high RD. If two players play each other and both are frequent gamers, then the ratings adjustments to both players will be smaller because their ratings are less uncertain. If the RDs are quite different, then adjustments can be quite different.
Here's a link to more information on the Glicko Rating System used here at chess.com:
http://support.chess.com/Knowledgebase/Article/View/16/0/how-do-ratings-work
Why is it that if I beat someone with 400 higher rating (900 v. 1300) they drop by over 200 rating but I only gain 15..