he got the assist probably because he touched the ball last. I am assuming the foul was hand ball