What can be the cause of losing weight very rapidly in your early 20s?

Many factors. This is definitely something that should be assessed by a clinician. There are many factors that can effect weight loss such as increased activity, decreased food intake, hormonal imbalances, infections, intestinal disorders, medications, drugs, tumors.....