Handicaps

Thank you, but how do you explain that one minute when playing with a 18k I was given 3 handicaps stones - I was 21k so one stone by rank. Then the next minute I was 20k and someone a 17k requested to play with me but I was not given any handicaps?