I think they started out in detention and then things went bad as they always seem to do in Beacon Hills. Derek showed up somewhere along the line... It was complicated.
He's after Scott because he wants a pack and... Well, let's just say he has a twisted agenda. He's a user and a manipulator on top of being extremely violent.