Summary
If the description above is accurate, Rider A operated their bicycle correctly, and gave enough clearance to riders still in the paceline.
Remembering that we weren't there in person, there may have beenbe some legitimate reason that Rider B couldn't passaspects of the ride to improve on. It is generally better for the right, but this wouldentire group to be unusualeither single or double file. Additionally, in the groups I've operatedThe OP indicated in, which have included regular comments that this was a relatively fast but casual shop ride. It does take time and effort to organize a group rides of riders, so I realize that this size or largerisn't a no-cost action. However, it's not generally seen as mandatory forI would respectfully recommend quickly briefing riders on expected behavior before the person pulling off (i.eride. who is done During the ride, anyone associated with their turn in front) to go all the wayshop should exercise that authority to the center line oftry to get the roadgroup more organized if they straggle too much - note that it doesn't have to be military-level organization, eitherjust setting basic expectations. HenceIf you are intending for the ride to have fast sections, it is important that people have a basic sense of how to act in those situations.
It's possible that Rider A (ifB simply isn't familiar with usual behavior in pacelines. I suspect that with the description is accurate) alloweddecline of road racing, more than enough passing spaceand more people on group rides might not be very familiar to them. As another general ruleNewer riders, you shouldn't crossor riders just not experienced with pacelines, should err on the center lineside of observing the road except to evade an obstacle; crossinggroup's behavior and copying the center linenorms. Naturally, if the group is an indicator thatbehaving too riskily, you may haveshould consider dropping out from the one in errorride.
We Also, in many areas there should be group rides that are smaller or slower paced where you can also considerlearn the alternativesnorms. The way the question was set up, it sounds like Rider BIt may have wanted Rider Abe worth searching these out if you need a place to brakelearn first.
A more detailed explanation
In generalthe group rides I've operated in, you want to preserve your forward momentumwhich have included fast group rides of this size or larger, because it's effortfulthe person pulling off does coast to recover speedthe back. Drawing from my general knowledge of group riding etiquette, I don't think anyone considers it mandatoryIf the norm were not to coast but to brake after pulling off. In this particular context, you run the risk of braking too much, and then havingwould have to sprint to catch the last riderback on. As theAccelerating is energy-intensive. On a fast group ride goes on, especially as people expend theiryou would probably be depleting your (limited) anaerobic capacity to catch back on if you did this. So, that'sif the norm were to brake after pulling off instead of coasting, that would be a clear recipe for short group rides with a lot of people getting droppeddropping off.
Cycling in groups is a skill that takes some time to learnWhile Rider B's reaction was wrong, and it requires some organization on the group's part. Of the riders I've spoken to on forums, some people perceiveis entirely possible that newer cyclists aren't getting introduced to good group riding skillsthey simply did not know better. I am not sure what to attribute this toMy perception is that there's been a bit of a decline in cycling clubs, but it's possibly dueat least in partthe US. It may be related to the decline in road racing as a thing among the cycling population. A decline in racingThe latter is neither good nor bad by itself, but if fewer people are racing, then there may be less impetus for organized clubs.
Thus, it is possible that Rider B did not know that they were in error. Moreover, they may not have had the opportunity to come to know this. The group as a whole may have had sloppy lateral spacing (i.e. the OP describes them as being in 2s and 3s; a double paceline would probably have been bestClubs, and it's achievable with this group size)however, so B may have thought they got forcedare one major site to go wide. A comment was later added that this was a general shop ride; in this context, I believe experienced riders would generally have sorted themselves out adequately, but as above, this rider may not have had that experiencelearn riding skills.
For ride organizers, it's worth referring to @Criggie's answer as potential best practices for group riding. If the ride is organized by the shop, then there's a clear authority and thus a reasonable basis for the ride leader to step up and say we are doing A, B, and C. I would recommend that leaders set basic expectations. If the group's formation starts to get more scattered (e.g. people get to 3 or more abreast), I'd recommend that you and/or others take efforts to restore formation, e.g. verbally asking riders to do so or move ahead to fill in gaps.
In less organized situations, e.g. century rides/Gran Fondos, you have the problem that there isn't a clear authority, and people may be at their cognitive limits due to physical effort. In this case, if you sense that riders around you are not operating safely, you should strongly consider dropping back (or sprinting to the group ahead). You can consider engaging verbally, but you will need to remember that at effort, your speech could come out (or be perceived as) hostile or patronizing. You are not guaranteed to actually get the correct message across. Thus, it may be less wrong to disengage.
Recommendations for riders new to fast group rides
For riders who have the physical capabilityFast group rides are fun, but they demand more than just aerobic capacity. You do need some minimum level of skill to rideoperate safely. Remember that fast but whoit's not just you, others are relying on you to know the basic scripts.
For riders new to fast group rides entirely, or even those who aren't new but areif you're just rusty,: I'd urgerecommend you to step in slowly, to remember that this isn't an activity you normally do, and to generally observe and follow the group's norms. I want to acknowledge that in other contexts, people are pushing back on gatekeeping. Gatekeeping is not always socially desirable, but it depends on the context and the tradeoffs. Some cyclists have, in the past, pushed back on what they perceive as lesser riders (e.g. newer, or less physically fit, or not a 'racey' position) riding expensive bikes and equipment. I think this is undesirable on balance. With fast group rides, there is a certain minimum skill and knowledge base to operate safely. In this context, if you crash, both you and an unknown number of other people may be crashing at a fairly high speed! Thus, you do need to accept some gatekeeping in this specific case. Hopefully, there are a variety of rides at your ability level in your area. Consider shopping around for a slower or smaller ride if you aren't at the level of the ride you want, or if you need practice.
One thing to be aware of is that under physical or psychological stress, we can get tunnel vision which impairs our ability to perceive the full situation, e.g. the location of other riders on the road. I have a feeling this might have affected Rider B. You become less vulnerable to tunnel vision with practice. If you are in a situation where the group ride is a bit fast for you, do be aware that you don't have to take a pull on the front. When it's your turn to pull, you can take a short pull, or even pull off immediately (if in a double paceline, let the other rider know; they will usually stay in their place and the rider behind you will advance). Alternatively, you can generally hang out nearer the rear, and let riders rotating off go in front of you (just let a gap form gradually, and tell the other person to go in front of you). I'm not sure if this might have helped Rider B, but it's worth mentioning.