I wonder what caused them?
I have no idea. They could happen at any time and for no apparent reason. This article seems to suggest they only happen at times of great trauma, but that wasn't my experience at all -- thankfully!
My brother used to get them, too. So I think it's some kind of physical process with a strong genetic component.