Answer:
because he wanted to tell potter to back off. "you dare use MY OWN spells against me?!?!?! Yes, Potter, for I AM THE HALF-BLOOD PRINCE!!
Step-by-step explanation:
snape knew ever since the draco in the bathroom insident (snape came up with that spell) so he just wanted harry to know that it was because of him that his potions grades were amazing.' it was me who came up with that spell that you nearly killed draco with.' it was pretty much another giant ____ YOU to harry.