One time I was in a store, and I started feeling nauseous, I was with my mother* and I was crouched on the ground due to the nausea. I started walking toward the front of the store to throw up at the side of the building, because I didn't want to puke on the ground or someone else. (There were no bathrooms) And then after taking 2 steps, I remember calling my mother's name for some sort of help because my vision was getting incredibly blurry. **I repeated "Mom?!" with a absurdly high amount of confusion/fear in my voice about 6 times until, after stumbling, I sharply turn,stop, and fell directly onto a cardboard display. And I looked to be blue.** I woke up on my back, feeling dizzy, and surprisingly enough, I was not in any pain. I woke up just in time to hear my mother shout "Someone call 911!" and I was incredibly confused as at that point I felt normal like nothing happened. And I had mentioned that I had no clue what was going on since I only remember stepping closer to the door and then my mother was in a blind panic and I was on the ground. The ambulance came and picked me up and brought me to the local hospital. I was extremely confused and a little bit panicked because I felt fine albeit I've learned by now that I completely fainted for a reason unknown to me and probably everyone else. Skipping forward, I had blood work and my results brought up that I had about 4:1 ratio of white:red blood cells.

I need an explanation on what might've happened.

*My mom explained to me pretty much half of the story
**The part which my mother had to explain, as I probably already blacked out