Question: what is the relationship between pressure and displacement?
Answer: You can think of pressure as the (negative) spatial derivative of displacement. If the particles at x=−ϵ are displaced a little to the left and the particles at x=+ϵ are displaced a little to the right, then there's low pressure at x=0 since less particles are there.