There are many reasons why this situation may occur.
I can speak from my experience because it happened to me a long time ago when I lost weight drastically and very quickly (I lost 30 kg in three months).
My menstruation came every 10 days, I always had diarrhea and I lost a lot of muscle...