Evolution of interlayer coupling in twisted molybdenum disulfide bilayers