deficiency most likely. Due to less calcium in blood, any muscle can suddenly go into spasm.
take
calcium rich food like milk, samolina, nachani etc. sit in morning sunlight.
take calcium tablets, but not without ur doctor's advice.
get regular massage with appropriate Ayurvedic oil from trained and authentic person.