They did that to speed the process along. Jesus gave up the ghost when they pierced his side and his heart burst (blood and water). They didn’t need to break his legs at that point.
Do you see it? Look behind the judge. An anon graciously did this per my request.