Every sitcom needs a dislikable character or two to create conflict, or to give fans an idea of who to root for. While some characters are intentionally insufferable, sometimes a character created with good intentions can backfire, becoming a target for the ire of viewers. A character can even start out being liked but then spark resentment.
Source:https://www.cbr.com/most-disliked-sitcom-characters/