This is a generalization but I think it is useful to think of the price of the stock as
$$X_t = E_t P_t$$
where $E_t$ is a company's earnings and $P_t$ the multiple of earnings investors are willing to pay for the stock (also known as a P/E ratio).
$E_t$ is non-stationary since earnings tend to grow over time due to economic growth and inflation. On the other hand it is somewhat reasonable to assume $P_t$ stationary since the passage of time should not affect the multiple of earnings investors are willing to pay for a stock.
Putting this together $X_t$ is non-stationary since it has a time-dependent mean function.
Now, looking at returns we can rearrange the equation as
$$Y_t=\frac{X_t-X_{t-1}}{X_{t-1}}=\frac{E_tP_t-E_{t-1}P_{t-1}}{E_{t-1}P_{t-1}}=\frac{E_tP_t}{E_{t-1}P_{t-1}}-1$$
In this form it would appear that the fraction $\frac{E_tP_t}{E_{t-1}P_{t-1}}$ does not have a time dependent mean function, since the dependence which $E_t$ has on time is negated by having it on the numerator and denominator of that equation.
For example assuming $P_t,E_t$ independent for all $t$, and assuming the expected growth rate of earnings is 2%, we see that
$$E[Y_t]=E\Big[\frac{E_tP_t}{E_{t-1}P_{t-1}}-1\Big]=E\Big[\frac{E_t}{E_{t-1}}\Big]E\Big[\frac{P_t}{P_{t-1}}\Big]-1=1.02E\Big[\frac{P_t}{P_{t-1}}\Big]-1$$
Now since $P_t$ is unlikely to have a mean function that is dependent on time, the mean function of $\frac{P_t}{P_{t-1}}$ should also be independent of time leading to $E[Y_t]$ to be independent of time (one of the conditions of stationarity).