After barely surviving another nasty and vicious beating from his relatives, Harry returned to Hogwarts so weak and almost on the verge of breaking point. So when his name came out from the Goblet of fire he just couldn't take it anymore and decided to just end all his pain and suffering once and for all.