In my econometrics class regarding multiple linear regression, we learned that one of the Gauss-Markov assumptions is the zero conditional mean, expressed as $ E(y|\boldsymbol{x}) = 0$.
My question is: If we transform $\boldsymbol{x}$ into $g(\boldsymbol{x})$, does this zero conditional mean still hold for the new conditioned variable? In other words, does $E(y|g(\boldsymbol{x})) = 0$ for arbitrary $g$?