Your mom asked him to do it. She didn't want you to know about the whole shadow hunter thing, so he basically blocked it out. He didn't do it to hurt you. It was more like to keep you safe from that Valentine guy.
don't worry. My limbs will be fully functional - all of them.