As I see the implications in the word order, no.2 suggests that it was the behavior that humiliated the parents, and in no.1 that it was the boy. I don't think the difference lies in the presence or absence of intention.
I believe there is a saying that goes roughly like this: 'Hate the crime, not the criminal.' No.2 puts emphasis on 'the crime', no. 1, 'the criminal'.