Harry made a Horcrux. The Horcrux killed its host unless very specific circumstances were met, supremely a lack of sleep, and steady dosage of a potion made from the ingredients that destroyed Horcruxes. For his Horcrux to survive, it wanted something. 