Why are hamstring injuries common in baseball?

Sudden bursts. Are common when running out ground balls or taking an extra base. It can result in an overstressing o the hamstring and often a calf muscle too.
Not constant. Players stop and muscles cool down, then move suddenly, and have sudden lunging movements.