What are the causes of memory loss in someone who was in a coma?

It's complex. Memory is a complex, poorly understood phenomenon. The fluctuations in blood pressure, blood flow and inflammation all can contribute. Often brain tissue is also destroyed during a coma which can have effects on memory. This is active area of medical research.
Coma. Many possibilities...Poor blood flow or oxygen/nutrients to brain, medications, anesthesia...