He didn't — in Part 1. The strangulation attempt occurs in Mockingjay Part 2, where Capitol-brainwashed Peeta attacks Katniss. He doesn't succeed in choking her, but the scene shows the depth of his conditioning and the danger he poses, while highlighting Katniss's loyalty in fighting to save him.