As the previous commenter pointed out, it’s common practice to work with a few of one’s opponents in order to beat all the others. Road cyclists’ greatest adversary is aerodynamic drag, which cannot be fought alone as long or as hard as it can be fought in a group of riders cooperating with each other. If you’re in a small breakaway with a few opponents, you and your opponents can choose to cooperate with each other or you can choose to not cooperate and end up falling back into the peloton, within which each rider has much less work to do and consequently tires much less quickly.
There is huge difference between driving in front and driving in second place. Between having one good teammate with you and not having one. Between having a good day and a just-so day.
How can you ensure others do as much of the 'upfront' work as you? How can you try to prevent others from benefiting from your teammates? How can you prevent one just-so day from ruining a multi-day tour?
That all requires communication, negotiation, deals. Sometimes the deal is just the default: every few km we switch positions. Your behaviour is your acknowledgement of the deal. Sometimes the deal is more intricate.
Example: you broke away with two competitors who are in the same team. If you work together you are 90% likely to take all three places on the podium. You can offer them places 1 and 3. If they try to shake you off they will probably succeed, but both you and them are less likely to make the podium at all. What do you do? Take an 90% chance on a second place or try for a maybe 30% chance to become first?
What if second place nets you 50K?