Agreed that this may be the most uneducated-sounding OP ever.
Sagan and his team employed smart tactics to optimize the physical advantage he has as a climber over his main rivals. It worked, and he won both the intermediate sprint and the stage. He and his team have a lot to be proud of and happy about. His sponsors are likely also very happy with the result.
To the OP. I suggest you read through the thread titled "Maybe a dumb question ... sorry". Some of the input in that discussion explains the team concept as it applies to cycling with being condescending or negative. A good read for anyone trying to understand the basic principles road racing.