Because you do equilibrium statistical mechanics. In the usual ensemble theory we associate to a system (a macrostate) a big number of corresponding microstates, each microstate is a point in phase space, that point is called representative point. Now you want to study how these points move in phase space.
First of all the situation of equilibrium for the system is the situation where the system is represented by a stationary ensemble. Stationary means that the density function $\rho(q,p;t)$ of the representative points does not depend explicitly on time:
$$\frac{\partial{\rho}}{\partial t}=0 \tag{1}$$
Now, Liouville's theorem tells you that the local density of the representative points, as viewd by an observer moving with a representative point, stays constant in time:
$$
\frac{d \rho}{d t} = \frac{\partial{\rho}}{\partial t} + [\rho,H] =0 \tag{2}
$$
Where the last term is the Poisson bracket between the density function and the hamiltonian.
To satisfy both $(1)$ and $(2)$ you need $$[\rho,H] =0 $$
So Lioville's theorem somehow tells you that if you want to do equilibrium statistical mechanics, the Poisson bracket between the density function and the hamiltonian has to be null. It is a requirement that has to be satisfied, if it isn't, you're not doing equilibrium statistical mechanics, you're doing something else.