Never experienced this type of attitude in Egypt. I suspect there's more to the story.
Typically staying at a slight distance from my buddy (10m) is totally fine in ideal conditions: i.e. if one of us is taking a photo of something. We have signaling devices and cover ourselves up and the guides take a note of this after the first dive. However we shouldn't delay rest of the group. This is clearly articulated in advance at the briefing and noone ever had a problem with that. Challenging conditions is a totally different story: we stay close together at 2-3 meters.
Going in front of the guide is totally a problem. It can mislead other divers. I would be totally pissed if I were the dive guide.
If someone is low on air and the guide needs to take them to the surface, this is a drill that has to be clarified in advance. If the guide is experienced, they would state something like: "in low air scenario, if we are towards the end of the planned dive, everyone goes up with us".
Especially in Egypt, the agreement I always had with guides is that (unless it is a complicated situation), if the guide needs to take someone to the surface, the rest of us can relax and enjoy some more time under the boat staying with our buddies and surface in pairs with each of us having at least 50bar, or else we skip next dive (yes, the guide always checked). And the guide also always gave us clear indication whether to stay or surface. Yes, in some cases the boat had to wait for us for ~30 minutes, but that was the agreement and it was respected.
These folks are experienced and they know the spots. So now, come on... tell us the rest of the story