Robbie was blocking his locker, and clearly hadn’t heard Phil, because he kept talking.
Motive: ignored by cool kids, bullied, possible abuse at home, potentially lower-class, no one at school giving him any reason to enjoy school which should be his safe haven from homelife.