Story goes! Joss Whedon was quite angry at Spike popularity, he was never meant to be a regular, he would only be like the typical monster of the week character but the character's popularity made him unable to write him off. So in an attempt to make Spike less likeable and make viewers see he's not a good guy (despite this season hammering that alot) they made him do... that