It can cause depression, but is not always necessarily the cause.
It can take 3-4 months for the body to normalize hormone production after being on the pill. Give it some time and it may sort itself out with a good diet, but make sure she is talking to someone about her depression. She should not have to suffer needlessly. If her moods ever get to the point of her being a danger to herself, someone needs to know.