Who invented lice and why?

God. Maybe He invented it to teach us how to take care of our head properly :D