This is based on a comment here: https://mathoverflow.net/questions/67485/can-proper-smooth-base-change-be-used-to-show-that-varieties-cannot-be-lifted-to
I felt funny about the comment and I tried to prove it, but instead came up with a way to construct a counterexample. Since I'm still learning this stuff, it is possible I've made some glaring error, though.
The comment: If $X$ is a smooth proper variety over a field of positive characteristic and $h^n(X, \mathbb{Q}_\ell)\neq \sum_{p+q=n} h^{pq}(X)$ for some $n$, then $X$ cannot be lifted to characteristic $0$. Or in other words, if the $\ell$-adic and Hodge Betti numbers do not match for some $n$, then it cannot be lifted.
Here is my proposed counterexample. Find a smooth proper $Y\to S$ where $S=\mathrm{Spec}(R)$ for $R$ a DVR with mixed characteristic ($R/m=k$ of characteristic $p>0$, and $\mathrm{Frac}(R)=K$ of characteristic $0$) with the following property: Some Hodge number satisfies $h^{st}(Y_0)> h^{st}(\overline{Y}_\eta)$ where $\overline{Y}_\eta$ means the geometric generic fiber. So we are looking for an example where some Hodge number jumps up at the special fiber. I don't see any immediate reason why this can't happen, since they should be merely upper semicontinuous.
Here is my attempted proof of why this gives a counterexample. Well, first $Y_0/k$ is a characteristic $p$ variety that can be lifted to characteristic $0$ just by construction. Suppose $n=s+t$ from the example. We have the sequence of (in)equalities $h^n(Y_0, \mathbb{Q}_\ell)= h^n(\overline{Y}_\eta, \mathbb{Q}_\ell)=\sum h^{pq}(\overline{Y}_\eta)<\sum h^{pq}(Y_0)$ which comes respectively from smooth base change for etale cohomology, and then the fact that $\overline{Y}_\eta$ is a smooth variety over an algebraically closed field of characteristic $0$ (by Deligne-Illusie the Hodge-de Rham SS degenerates at $E_1$ but maybe the error is that $\ell$-adic and de Rham don't match up?), and then the assumption about Hodge numbers jumping.
In other words, such a variety $Y_0$ would be liftable with $\ell$-adic and Hodge Betti numbers being different.
Question: What is a good example of where this happens? Or, if the original comment was correct what is an actual proof and where does mine go wrong? Thanks!
P.S. It is very annoying that you can't reply to comments on MO, so the person never learns of a reply. This has happened several times to me now.