The answer is yes, and the connection can be found in the effects of malnutrition: a very serious syndrome that include also this kind of problem.
A wise thing to do is to see a doctor and accept all the necessary examinations he will suggest in order to understand the causes of your symptoms; in the meantime you could try to follow a balanced diet that will respect your body needs and won't turn it into a skinny (and sick) body.