I'm sure the answer to my question is well-known -- I'm mostly looking for a reference.
Suppose I have a nonsingular variety $X$ which fibers over $\mathbb{A}^1$. Moreover, suppose I have a stable map $C_0 \stackrel{f_0}{\to}X_0$, where $X_0$ is the fiber of $X$ over $0 \in \mathbb{A}^1$. When does this map deform to a family of stable maps $$ \begin{array}{c} C & \stackrel{f}{\longrightarrow} & X \\ \downarrow & & \downarrow \\ \mathbb{A}^1 & \longrightarrow & \mathbb{A}^1 \end{array} $$ where $C_0$ is the fiber of $C$ over $0 \in \mathbb{A}^1$? I expect that such deformations correspond to global sections of $f_0^*\mathcal{T}_X$ on $C_0$ -- is this correct?
I'm especially interested in the case where $X = \{ \alpha w = \beta x, \alpha y = \beta t\} \in \mathbb{A}^4 \times \mathbb{P}^1$ and $X \stackrel{t}{\to} \mathbb{A}^1$. Here, $[\alpha:\beta]$ give coordinates on $\mathbb{P}^1$.
Thanks for your help.