‘The brain makes the decision about whether a movement should be painful or not,’ one of the study authors said.