He did so to make sure that Harry participated in the Tri-wizard cup. Winning this cup would take him to the Graveyard, where Voldemort was waiting for him to complete the spell that would give him a body again. Barty Crouch Junior when he disgiused himself as Mad Eye Moody using Polyjuice Potion.