
In the case of byproduct mutualism, there is an immediate cost paid for not cooperating.
For two individuals trapped in a cave, there is no temptation to "cheat":
neither person gains by not helping to move a stone blocking the entrance that neither can budge alone.