Motivation
If you don't care the least bit about motivation, scroll down.
The following is a standard result in a first algebra course:
Factor Theorem. Let $R$ be an integral domain and $p\in R[X]$ with a root $a \in R$. Then there exists a unique $q \in R[X]$ such that $p(x) = (x-a)q(x)$.
From this we deduce:
Extended Factor Theorem. Let $R$ be an integral domain, $S \subseteq R$ a subring and $p \in S[X]$ a polynomial with roots $a_1,\dotsc,a_j \in R$ such that $d(x) = \prod_{i=1}^j (x-a_i) \in S[X]$ then there is a unique $q \in S[X]$ such that $p = dq$.
By repeated application of the factor theorem it follows that there is a unique $q \in R[X]$ such that $p = dq$. Next we appeal to the theorem about division with remainder in $S[X]$: there are unique polynomials $q^*,r^* \in S[X]$, $\deg r^* < \deg d$ such that $p = dq^* + r^*$. Since $S[X] \subseteq R[X]$ we must have $r^*=0$ and $q^*=q$. Thus $q \in S[X]$ as desired. $\quad\blacksquare$
The proof is nice enough as is, but it would be much nicer if we could avoid appealing to what is essentially polynomial long division and have that $q \in S[X]$ just from the fact that $p,d \in S[X]$.
The Question
Speculation. If $R$ is an integral domain, $S\subseteq R$ a subring, $p,d \in S[X]$ with $d$ monic and $q \in R[X]$ such that $p = dq$, does it follow that $q \in S[X]$?