My best friend has had several blackout episodes in the shower from migranes. Her doctor said that the hot steam does something to trigger them, so she has to take lukewarm showers now. . . Having said this, there could be any number explainations, so get professional help from a doctor.