I found out what happened...
I ate some food and it had a small piece of glass in it, and it got lunged in my stomach and my body somehow managed to puke it up before it managed to do anything, but the blood came because when I got hit with the baseball bat, it lungged the glass peice on the side of the organ and caused some blood, and that made my body react in a way to "spit it up" by puking until it came out, thus bringing the blood that was from it on out. I am perfectly fine though, they gave me some pills to heal up the little part where the glass cut. Thank you to the natural body and it's way to figure out things or I could of died.
Also, incase you was wondering, I didn't puke it up at the house. My body was shaking to make myself puke until it came out, but the hospital gave me some nasty shit that made me puke it up. They found it from a x-ray and after about 4 times puking, my puking went from bloody to clear, and then they gave me another x-ray and it didn't show up.