Mussels are able to alter their responses according to differing danger levels. When they face a perceived danger, such as the smell of a predator or some sudden variation in their environment, they close their shells, even if this makes it impossible for them to eat. Solitary mussels have been observed protecting themselves, and consequently refraining from eating, for longer than those who are in a communal tank. Thus, it seems as though grouped mussels sense a lower risk of harm. This indicates an ability to balance and trade off different needs and risks (such as threat of predators, significance of group size, and demand for food) against one another and adjust their behavior based on context.
36 Reflexive responses, such as an automatic kick from a hammer blow at the knee in humans, can happen unconsciously but more nuanced responses to noxious stimuli may require consciousness. It is unclear if this behavior in mussels more closely resembles reflexive behavior or behavior that requires consciousness.