Could one of many causes. Common ones are an imbalance of salts or, dehydation. The body can take a while to adjust to a new diet, particularly when it has been used to the same thing for many years. I get the occasional cramp (usually at night). Taking "crampex" tablets for a couple of days...