Why my cycle?

Idk I’ve been restricting more lately (partly also due to depression so no motivation to do anything like cooking) and I’ve noticed my cycle has gotten shorter (like two and a half weeks) but also heavier??? Idk does someone know why it does this?