In basketball, if you act like that you are getting a Technical or get ejected. In baseball, managers get kicked out all of the time, and the refs will even argue back with them.
Why do football refs just take it over and over again? I can’t think of one time when I saw a penalty on a head coach for unsportsmanlike penalty. Although, I have seen a flag thrown at an athletic director.