What causes two periods?

I had two periods in the same month - two weeks apart. Anyone here been through this experience?

Could stress cause this? An imbalance in hormones? High cortisol levels?