A (projective) abelian variety $A$ over the complex numbers is determined by $H^1(A,\mathbb{Z})$ together with its Hodge structure and polarization. This miracle means that one can parametrise polarized abelian varieties (which sounds like a hard geometric problem) by parametrising their H^1's with the extra structure (which sounds like an easier algebraic problem, solved via the theory of Shimura varieties).
If we move away from abelian varieties, the miracle won't occur, and indeed attempting to understand a general variety (a complicated non-linear object) via its cohomology groups (linear objects) is presumably not going to work in general -- the linearization will lose information.
I have two related questions about what is going on in general. Let me talk about K3 surfaces below, although my real confusion has nothing to do with K3 surfaces in particular -- I could easily be saying "Calabi-Yau 8-folds" or "curves of genus 23" or indeed any random type of smooth projective variety.
Q1) I am confused about why the power of functors and representability theorems do not give me everything. This probably just reflects my lack of real understanding of what is going on. For example, let me just naively consider the functor sending a scheme S (over the complexes, if you like) to the set of isomorphism classes of polarized K3 surfaces over S (or the groupoid of polarized K3 surfaces). I now want to vaguely mutter that a big machine the likes of which I don't really understand says that this functor satisfies some basic continuity properties and hence (perhaps by some theorem of M. Artin) is representable by some algebraic stack. My understanding of the abelian variety situation is that this method is one way to prove the existence of things like Siegel modular varieties (perhaps even over $\mathbb{Z})$. Why does this method fail for more general families of varieties? I am guessing that I am perhaps being too sloppy with my polarizations but I don't really have a precise feeling for what goes wrong.
Q2) This general functor nonsense must surely fail, so here's a second approach to constructing moduli spaces of certain types of variety. Again let me stick to K3's for concreteness. I understand H^2 of a K3 surface quite well and presumably there is a Shimura variety parametrising the types of Hodge structures showing up as H^2 of a K3. I am wondering how far this Shimura variety would be from the "moduli space of K3 surfaces" which I am naively assuming exists. I can see the issue -- if the moduli space of K3's exists, there will be a map to the Shimura variety, but there is no reason to expect either injectivity or surjectivity on the face of it (I am losing information by linearising, and the linear stuff is too naive to know whether it comes from geometry). Let's forget about injectivity for a moment -- injectivity is an issue whose answer will depend on which type of variety I am trying to parametrise (e.g. for curves I have Torelli etc). But what about surjectivity? Because I'm not really interested in K3's, I'm interested in the general picture of "moduli spaces of varieties of type X" and understanding this "space" via Hodge structure, I am led to the following question, the answer to which is presumably well-known:
If $H$ is a polarizable $\mathbb{Z}$-Hodge structure of weight $n$, does one expect $H$ to be the singular cohomology of a pure motive? Perhaps more concretely, does one expect there to exist some smooth projective algebraic variety $X$ over the complexes such that $H$ is a subspace of $H^i(X,\mathbb{Z})(j)$ for some $i,j$, and even a subspace cut out by correspondences?