Got into their bad books - Idioms by The Free Dictionary
get into (someone's) bad books (redirected from got into their bad books)
get into (someone's) bad books
To fall out of favor with someone due to offending or mistreating them. I must have gotten into Jenny's bad books because I wasn't invited to her party on Saturday.
be in/get into somebody’s ˈgood/ˈbad books (informal) have/not have somebody’s favour or approval: I’m in his bad books at the moment because I accidentally broke the window. ♢ ‘Why are you cleaning her shoes?’ ‘I’m trying to get into her good books!’