Because it was the preparation. For the passover. See John 19:14.
That sabbath was an high day. A double Sabbath, both the weekly Sabbath and a passover Sabbath. It was usual Roman custom to leave crucified bodies on the cross, but out of deference to their wishes Pilate consents that the legs of the victims should be broken in order to hasten death, so that the bodies might be taken down and buried. The legs were crushed with a hammer like a sledge and the shock would bring speedy death.