Ralph is that kind of characters we hated so much and wished him dead. And when we find his vulnerability and know that he is also complicated and not just pure evil, we feel sorry for him.