Density of a quantity of matter is its mass divided by its volume. The mass of an object depends on the atomic mass of the individual atoms or molecules and the how close the they are compressed together.
Beacuse a liquid is a physical property of matter so is gas solid and plazma what im getting it is they are propertys beacuse that helps the mind process them better.