When a spring is stretched or squashed, it creates a force in the opposite direction because the spring tries to get back to its original shape.
For example, when you squash a spring downwards on a table, you will feel a push upwards on your hand. The more you squash the spring, the bigger the push you will feel.
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.