The thing I'm trying to point out is that there are team orders in both camps and there is always one person who gets penalised more than the other, not just at Ferrari but Mercedes have done it countless times too.
Bottas is second in the championship, whatever happened to give him a fighting chance?
In Australia with Bottas ahead they could have pit Bottas to cover Vettel early and Hamilton would have won. They favour whoever is out front at the time because the leader gets the preference, simple as that. The only time this changes is if there is a title fight and a clear choice to make such as in Russia at a point in the season where Ferrari were equally competitive pretty much up to that point and no one knew Vettel was going to put in a massive bottle job through the rest of the season.
At that time Ferrari could have done exactly the same as this weekend, shown up at the next race with a working upgrade that put them ahead of Merc and those few points might have made the difference to the title fight and if Bottas wasn't completely out of the title race but was directly fighting with Hamilton then they wouldn't have done it either.
For me today at the time it was a choice of pit Leclerc, he's covered from the undercut and in space and wins the race, Vettel gets pit next lap and Verstappen undercut's him and most likely Ferrari finish Leclerc 1st and Vettel 4th.
So the best thing for the leader is pitting the leader first, however pitting Vettel first protected him from Verstappen and Bottas and pitting Leclerc next kept him ahead of Ham but behind Vettel.
So imo they should have pit Vettel but told him they either pit Leclerc first and he comes 4th, or they pit Leclerc second but he has to give up the position to Leclerc. That way they both favour the leader and the team at the same time fairly.
The reality is in China they pushed Vettel ahead of Leclerc, then delayed his pitstop hoping to hold up Verstappen and cost the team points just to get Vettel a few extra points. This is how Ferrari operate. Just because the best decision for Vettel happened to get the team more points, the reality is that as they always have for their no.1 and the fact the team got more points was just a bonus.
IMO when the best thing for the team is not pitting the leader first, then whoever is benefiting from getting to pit first or the better strategy needs to realise it. As Bottas said after, the leader gets the better strategy and if they change that to help whoever is second, they know they will give up position to the leader because it's better than giving the leader the better strategy and leaving the second place driver out to hang.
In China they could have pit Hamilton first as he was in the lead, and had they don't so it's likely Vettel would have undercut Bottas. Instead because Bottas had dropped almost 10 seconds back and right into Vettel they pit Bottas first and Ham lost like 6-7 of a 9-10 second lead by being pit a lap or two later. Ham as in Australia is also happy to play the rear gunner when that's how the race has played out.