Yes, you are now thinking like a Scientist! The number of particles inside the container is fixed. As we start compressing it, the amount of space available for the gas particles decreases. So, the distance between the gas particles decreases.
If the distance between particles decreases, it means that the gas is becoming more and more like a liquid now. This is because particles of a liquid have a smaller distance between them than gases.