An example might be about Neymar, who continues to suffer injuries because he has previously suffered serious injuries and also takes a long time to recover. If so, then ofcourse it would be right to sell the player but the problem is, no team will be willing to buy an expensive player when the player is injured.
When he played for the country, then currently Spain is obliged to take care of it until he recovers. Of course, this condition helps Barcelona's financial situation a little. I even read that Barcelona can file a lawsuit with UEFA. This is related to FIFA's club protection program. Reportedly, Barcelona can get 20,548 euros every day. This applies if Pedri does have to miss 28 days from injury. If that's true, maybe Barcelona will get compensation from Araujo who also suffered an injury while with Uruguay. Maybe if he wants to sell him, then after recovering he can leave if the club is hesitant about his physical condition that is easy to get hurt.
Source:
https://www.ecaeurope.com/about-eca/main-achievements/club-protection-programme/