Some groups have a variety of riders at different abilities, but often keep the pace controlled so everyone can stay with it. Sounds like one of the stronger riders just wanted to show you that your speed as you passed wasn't challenging, and at the same time giving a quick hello. Don't ever assume that riders you pass aren't as fast as you. They might be just finishing a century, had a recent injury, doing intervals or a recovery ride, etc.