So he does have a heart, he was simply taught to abide the rules and if he didn't he would be severely punished.
He might actually have saved that boy from a worse fate by staying with him and keeping him company, by doing that he doesnt disobey yet doesn't have to go through this alone