get on (someone's) bad side
To be or become displeasing to someone; to do something that provokes someone's anger, contempt, or dismissal. The superintendent is a powerful woman in the school district, so be sure to not to get on her bad side. I'm afraid I may have gotten on your friend's bad side with my off-color remarks.