Because the capitalist owns the means of production, the worker doesn’t have the right to keep the product; the capitalist essentially rents the worker and takes what the worker produces. The amount of wages and of surplus value is contested, and can fluctuate according to the relative power of the contending classes.