Well i assume that Toe Bonnie did the bite, and the kid was supposed to be another child ghost, but became a pure aspect of anger in the form of the last thing he saw: Toy Bonnie. And he somehow got 5 nights back in time to attempt stopping his own death