This process is known as a involuntary reflex.
the believe they move inside the membrane which is creating a gradient
The two properties of matter that determine its states are temperature and pressure determine the state of any matter. Both of them are needed to determine if it is going to be solid, liquid, gas, plasma and etc. I hope you are satisfied with my answer and feel free to ask for more