John 12:37-43: At first, the people would not believe in Jesus; then they could not, because God hardened their hearts. Why does God do this?

John 12:37-43: At first, the people would not believe in Jesus; then they could not, because God hardened their hearts. Why does God do this?