If it was a small amount of blood you likely nicked a vein or artery either going in or out. It’s very common, think about any time you get a vaccination from a MD. They are always ready with a cotton swab and band-aid.
Keep an eye on it for the next few days to ensure that nothing progresses.