This is again false. The geometric interpretation is as follows: givenwrite $Y = \operatorname{Spec} S$ and $X_i = \operatorname{Spec} R_i$. Given étale morphisms $Y \to X_1$$f_1 \colon Y \to X_1$ and $Y \to X_2$$f_2 \colon Y \to X_2$ of affine schemes, the image factorisation $$\Gamma(X_1,\mathcal O_{X_1}) \underset k\otimes \Gamma(X_2,\mathcal O_{X_2}) \twoheadrightarrow \Gamma(X,\mathcal O_X) \hookrightarrow \Gamma(Y,\mathcal O_Y)$$$$R_1 \underset k\otimes R_2 \twoheadrightarrow R \hookrightarrow S$$ corresponds geometrically to taking the (scheme-theoretic) image $Y \to X \hookrightarrow X_1 \times X_2$ of the product map $Y \to X_1 \times X_2$$f \colon Y \to X_1 \times X_2$. If $Y$ is smooth, then so are the $X_i$, but $X$ need not be smooth. If $Y \to X$$f$ is surjective, it cannot be étale [Tagflat when $X$ is singular [Tags 07NG and 00HQ].
We can turn this around to make a counterexample: start with a map $Y \to X_1 \times X_2$$f \colon Y \to X_1 \times X_2$ of smooth schemes such that the image is singular but both projections $Y \to X_i$$f_i \colon Y \to X_i$ are étale.
Example. This is the typical picture of a plane nodal curve: let $Y = \mathbf A^1 \setminus \bigl\{0,\pm\tfrac{\sqrt 3}{3}\bigr\}$ and $X_1 = X_2 = \mathbf A^1$$Y_0 = X_1 = X_2 = \mathbf A^1$, and consider the morphism $Y \to X_1 \times X_2$$f \colon Y_0 \to X_1 \times X_2$ given by $t \mapsto (t^2-1,t^3-t)$. The scheme-theoretic image lands inis the nodal curve $\{y^2 = x^2(x+1)\}$$X_0 = V(y^2 - x^2(x+1))$, only missingand the map $Y_0 \to X_0$ is surjective.
The projections $f_i \colon Y_0 \to X_i$ are not étale, but they become so after removing the points $(-1,0)$$0$ and $\bigl(-\tfrac{2}{3},\pm \tfrac{2\sqrt 3}{9}\bigr)$ where the tangent line is horizontal or vertical$\pm\tfrac{\sqrt 3}{3}$ from $Y_0$. Let $Y \subseteq Y_0$ (henceresp. $X \subseteq X_0$) be the choicecomplement of these points $Y$(resp. their images in $X$). ThusThis gives the compositions $Y \to X_1 \times X_2 \to X_i$ are étaledesired counterexample, butsince we did not remove the image $$X = V\bigl(y^2-x^2(x+1)\bigr) \setminus \bigl\{(-1,0),\bigl(-\tfrac{2}{3},\pm \tfrac{2\sqrt 3}{9}\bigr)\bigr\}$$ of $Y \to X_1 \times X_2$ is singular atpoint $(0,0)$$(0,0) = f(-1) = f(1)$ from $X$.
(This parametrisation is explained on this page of Donu Arapura, which is literally the first result that my favourite search engine produces when I type 'nodal curve'.)
Translated back into algebra, this means $S = k\bigl[t,\tfrac{1}{t},\tfrac{1}{3t^2-1}\bigr]$, with $R_1 = k[t^2-1] \subseteq S$ and $R_2 = k[t^3-t] \subseteq S$.