get in wrong with (someone)
To become displeasing to someone; to do something that provokes someone's anger, contempt, or dismissal. Be sure not to get in wrong with the superintendent—she wields a lot of power in the school district. I'm afraid I may have gotten in wrong with your friend with my off-color remarks.
get in wrong with (or on the wrong side of) someone
incur the dislike or disapproval of someone. informal