How does a bicycle pump *head* work?
What you have is basically a cylinder of rubber. When you lift the lever, the cylinder is compressed on the circular faces. This results in the sides expansion, which will "hug" the valve giving the sealing effect.