A direct link between a Vlasov equation and the equations of motion of a rotating fluid with an effective pressure depending only on a pseudo-density is illustrated. In this direct link, the resulting fluid equations necessarily appear in flux conservative form when there are no topographical and rotational terms. In contrast, multilayer isopycnic and isentropic equations used in atmosphere and ocean dynamics, in the absence of topographical and rotational terms, can not be brought in a conservative flux form, and, hence, can not be derived directly from the Vlasov equations. Another route is explored, therefore, by deriving the Hamiltonian formulation of the two-layer isopycnic and isentropic equations as a restriction from a Hamiltonian formulation of two decoupled Vlasov equations. The work is motivated by our search for energy-preserving or even Hamiltonian (kinetic) numerical schemes.