Because those are the rules. From the NBA statistical manual:
A blocked shot that is recovered without the ball going dead is to be recorded as a rebound to the player who first gains control immediately after the block.
As far as the shot clock reset goes, I think that is an error.
Once I scored a basket that still makes me laugh.