It somehow is now okay to try to humiliate the game officials. All of a sudden, it's all right to set a bad example for your child. You forget what your child wants from you Your child does not want you yelling at the coach. She clearly does not want an official to ask you to leave the field or the stands. Nor does she want you to yell at her during or after the game.
Many children quit playing sports because of the problems their parents cause at games.
The players on the other team may be your child's classmates. They may live across the street. Even if they come from another town, they are just kids, with parents just like you. When the opponent is demonized, then it is easier to abuse them. Once they start to experience tunnel vision, the results are disastrous and their children suffer.