The clots happen probably because there is so much blood for so long.
There really are a number of things that could be wrong, you should always see a doctor if you have heavy bleeding over a week.
But because you asked, here are some common causes of heavy menstruation: fibroids, a problem with your ovaries (pcos), medications, or other possible reasons for a hormonal imbalance.
Really, you need to see a doctor.