What exactly can cause dark circles under your eyes?

Can someone please let me know what things people do that cause dark circles under their eyes? Ive heard of undersleeping, oversleeping, lack of moisturizer...are these true? Also I heard rubbing your eyes causes dark circles, is this true as well?

thanks
7 answers 7