We show that although $X$ and $Y$ are not independent, the conditional expectation of $Y$, given $X=x$, is equal to the plain expectation of $Y$.
Given that $x=0$ (no Aces), we are choosing $13$ cards from the $48$ non-Aces. The expected number of spades is then $13\cdot \frac{12}{48}=\frac{13}{4}$.
Given that $x=1$ (one Ace), there are two possibilities: (i) the Ace is a spade or (ii) it is not.
(i) If the Ace is a spade (probability $\frac{1}{4}$), then we have $1$ assured spade. In addition, we are choosing $12$ cards from the $48$ non-spades, so the expected number of additional spades is $12\cdot\frac{12}{48}$. Thus (i) makes a contribution of $\frac{1}{4}\cdot\left(1+12\cdot\frac{12}{48}\right)$ to the conditional expectation.
(ii) If the Ace is a non-spade (probability $\frac{3}{4}$), the expected number of spades is $12\cdot \frac{12}{48}$. Thus
$$E(Y|X=2)= \frac{1}{4}\cdot\left(1+12\cdot\frac{12}{48}\right)+\frac{3}{4}\left(12\cdot \frac{12}{48} \right).$$
This simplifies to $\frac{13}{4}$.
A similar analysis works for $X=2$, $3$, and $4$. For instance, if $x=2$, then with probability $\frac{1}{2}$ the Ace of spades is included among the two Aces, and with probability $\frac{1}{2}$ it is not. The analogue of the calculation we made for $x=1$ yields
$$E(Y|X=2)= \frac{1}{2}\cdot\left(1+11\cdot\frac{12}{48}\right)+\frac{1}{2}\left(11\cdot \frac{12}{48} \right),$$
which again simplifies to $\frac{13}{4}$.