Because no one can force anyone to act contrary to their own best interest, in a free market everyone must voluntarily cooperate with others if they want to satisfy their own personal needs the fastest and easiest way possible.
Indeed, we see people who don’t even like each other cooperating in a free marketplace.
The free market is the greatest miracle of social cooperation ever conceived of in human society.