#Why were the legs of Jesus not broken and why was Jesus pierced with a spear?

These things came about so that the scripture might be fulfilled, "Not a single bone of him will be broken." and again, "They will look on him whom they pierced." [19:36-37]