The point is not that she's complaining as a loser of the match, she's complaining as a player who takes doubles seriously, regardless of winning or losing.
Just imagine that Badosa's (& Muchy's) attitude became generalized among singles players; they would take up half of the doubles draw, to retire in the second round. What do you get then? A pair that wins the tournament by W/O against all their rivals, the one that wins the first round and does not retire takes the prize. It is not even close to my ideal competition.
Besides from the fact that, as a sideshow to the main event, it would only work in the first rounds and not in the last days of competition, when they NEED to fill the schedule.