B12 shots

What’s the exact reason vitamin b12 shots hurt alot? I always wondered…