I remember being confused to why he would do this. Than i read the novel and they left out, how the jerk who attacked him also bit him. Ended up with a mouthful of mushroom. After that he stopped moving and didn't respond to the attack of the mutated bug. So An Zhe wondered if he was a poisonus mushroom. So he decided to try it out himself, like the silly little bean he is.