Recall the following corollary to the proper and smooth base change theorems:

Let $\pi: X \to S$ be a proper, smooth morphism. Then the direct images $R^i \pi_* \mathcal{F}$ are locally constant constructible for any l.c.c. sheaf $\mathcal{F}$ (with torsion prime to the characteristic of the residue fields) on $X_{et}$.

It follows in particular that if $S$ is the Spec of a DVR (say with an algebraically closed residue field), then the cohomology of the generic fiber (at least base-changed to a separable closure) is the same as that of the specific fiber. Consider the case where $S$ has unequal characteristic --- then essentially, this means that the special fiber $X_0$ admits a (smooth) lifting to characteristic zero. Then the above observations says something about what the cohomology of $X_0$ has to be (by comparing to the cohomology of the generic fiber, which is also the complex cohomology).

Can this be used to show that schemes in characteristic $p$ aren't liftable to characteristic zero? I don't know if this is easy, because etale cohomology groups seem to satisfy many of the same properties (e.g. Poincare duality, dimensional vanishing) of complex cohomology. Milne's book seems to list this as an application of proper-smooth base change but does not actually give an example.