What causes spotting or bleeding during pregnancy?

Is it low progesterone usually?

Did anybody have a pregnancy (miscarried or healthy) with spotting and one with none? What caused you not to have it?